mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Attempt to fix the startup error in the new build system
This commit is contained in:
parent
f08033f743
commit
2fd5f240ce
2 changed files with 10 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue