mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 10:40:23 +00:00
Define DefaultNodeHostingModel in one common place so it can be changed easily
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Microsoft.AspNetCore.SpaServices.Prerendering
|
||||
{
|
||||
_nodeServices = _fallbackNodeServices = Configuration.CreateNodeServices(new NodeServicesOptions
|
||||
{
|
||||
HostingModel = NodeHostingModel.Http,
|
||||
HostingModel = Configuration.DefaultNodeHostingModel,
|
||||
ProjectPath = _applicationBasePath
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user