Spaces:
Running
Running
User commited on
Commit ·
234e219
1
Parent(s): a86a01f
Deploy hosted content root fix
Browse files
start.sh
CHANGED
|
@@ -4,10 +4,10 @@ set -euo pipefail
|
|
| 4 |
: "${WebApi__BaseUrl:=http://127.0.0.1:5001/api/}"
|
| 5 |
export WebApi__BaseUrl
|
| 6 |
|
| 7 |
-
dotnet /app/api/TaskTrackingSystem.WebApi.dll --urls http://127.0.0.1:5001 &
|
| 8 |
api_pid=$!
|
| 9 |
|
| 10 |
-
dotnet /app/webapp/TaskTrackingSystem.WebApp.dll --urls http://127.0.0.1:5000 &
|
| 11 |
webapp_pid=$!
|
| 12 |
|
| 13 |
term_handler() {
|
|
|
|
| 4 |
: "${WebApi__BaseUrl:=http://127.0.0.1:5001/api/}"
|
| 5 |
export WebApi__BaseUrl
|
| 6 |
|
| 7 |
+
dotnet /app/api/TaskTrackingSystem.WebApi.dll --contentRoot /app/api --urls http://127.0.0.1:5001 &
|
| 8 |
api_pid=$!
|
| 9 |
|
| 10 |
+
dotnet /app/webapp/TaskTrackingSystem.WebApp.dll --contentRoot /app/webapp --urls http://127.0.0.1:5000 &
|
| 11 |
webapp_pid=$!
|
| 12 |
|
| 13 |
term_handler() {
|