refac: SERVER_PORT renamed to PORT
This commit is contained in:
+2
-2
@@ -1,2 +1,2 @@
|
||||
SERVER_PORT="${SERVER_PORT:-8080}"
|
||||
uvicorn main:app --port $SERVER_PORT --host 0.0.0.0 --forwarded-allow-ips '*' --reload
|
||||
PORT="${PORT:-8080}"
|
||||
uvicorn main:app --port $PORT --host 0.0.0.0 --forwarded-allow-ips '*' --reload
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
SERVER_PORT="${SERVER_PORT:-8080}"
|
||||
uvicorn main:app --host 0.0.0.0 --port $SERVER_PORT --forwarded-allow-ips '*'
|
||||
PORT="${PORT:-8080}"
|
||||
uvicorn main:app --host 0.0.0.0 --port $PORT --forwarded-allow-ips '*'
|
||||
|
||||
Reference in New Issue
Block a user