mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 10:08:57 +00:00
Rename Microsoft.AspNet.* packages folders to Microsoft.AspNetCore.*
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// Pass through the invocation to the 'aspnet-prerendering' package, verifying that it can be loaded
|
||||
module.exports.renderToString = function (callback) {
|
||||
var aspNetPrerendering;
|
||||
try {
|
||||
aspNetPrerendering = require('aspnet-prerendering');
|
||||
} catch (ex) {
|
||||
callback('To use prerendering, you must install the \'aspnet-prerendering\' NPM package.');
|
||||
return;
|
||||
}
|
||||
|
||||
return aspNetPrerendering.renderToString.apply(this, arguments);
|
||||
};
|
||||
Reference in New Issue
Block a user