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": {
|
"Ombi": {
|
||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"commandLineArgs": "--host http://*:3577",
|
"commandLineArgs": "--host http://*:3577",
|
||||||
|
"environmentVariables": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
},
|
||||||
"applicationUrl": "http://localhost:3577/"
|
"applicationUrl": "http://localhost:3577/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -212,11 +212,13 @@ namespace Ombi
|
||||||
|
|
||||||
app.UseSpa(spa =>
|
app.UseSpa(spa =>
|
||||||
{
|
{
|
||||||
if (env.IsDevelopment())
|
#if DEBUG
|
||||||
{
|
//if (env.IsDevelopment())
|
||||||
spa.Options.SourcePath = "ClientApp";
|
//{
|
||||||
spa.UseProxyToSpaDevelopmentServer("http://localhost:3578");
|
spa.Options.SourcePath = "ClientApp";
|
||||||
}
|
spa.UseProxyToSpaDevelopmentServer("http://localhost:3578");
|
||||||
|
//}
|
||||||
|
#endif
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue