Define DefaultNodeHostingModel in one common place so it can be changed easily

This commit is contained in:
SteveSandersonMS
2016-06-01 16:15:34 +01:00
parent cb289fd387
commit 32ebaecdd8
5 changed files with 9 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ namespace Microsoft.AspNetCore.NodeServices
{
public NodeServicesOptions()
{
HostingModel = NodeHostingModel.Http;
HostingModel = Configuration.DefaultNodeHostingModel;
}
public NodeHostingModel HostingModel { get; set; }