Attempt to fix the startup error in the new build system

pull/3400/head
tidusjar 5 years ago
parent f08033f743
commit 2fd5f240ce

@ -23,6 +23,9 @@
"Ombi": {
"commandName": "Project",
"commandLineArgs": "--host http://*:3577",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://localhost:3577/"
}
}

@ -212,11 +212,13 @@ namespace Ombi
app.UseSpa(spa =>
{
if (env.IsDevelopment())
{
spa.Options.SourcePath = "ClientApp";
spa.UseProxyToSpaDevelopmentServer("http://localhost:3578");
}
#if DEBUG
//if (env.IsDevelopment())
//{
spa.Options.SourcePath = "ClientApp";
spa.UseProxyToSpaDevelopmentServer("http://localhost:3578");
//}
#endif
});
}

Loading…
Cancel
Save