s
This commit is contained in:
2
run.py
2
run.py
@@ -13,7 +13,7 @@ from dotenv import load_dotenv
|
|||||||
load_dotenv()
|
load_dotenv()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
port = int(os.getenv("PORT", "8007"))
|
port = int(os.getenv("PORT", "8008"))
|
||||||
reload_enabled = os.getenv("UVICORN_RELOAD", "0").strip().lower() in ("1", "true", "yes")
|
reload_enabled = os.getenv("UVICORN_RELOAD", "0").strip().lower() in ("1", "true", "yes")
|
||||||
try:
|
try:
|
||||||
sys.stderr.write(f"\n[salonapi] startup http://0.0.0.0:{port}\n")
|
sys.stderr.write(f"\n[salonapi] startup http://0.0.0.0:{port}\n")
|
||||||
|
|||||||
Reference in New Issue
Block a user