We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1f7b5c commit 22169efCopy full SHA for 22169ef
2 files changed
Procfile
@@ -1,2 +1,2 @@
1
-web: uvicorn main:app --host 0.0.0.0 --port $PORT
+web: python main.py
2
main.py
@@ -1898,7 +1898,7 @@ def get_mobile_css() -> str:
1898
1899
if __name__ == "__main__":
1900
import uvicorn
1901
- port = int(os.getenv("APP_PORT", 8000))
+ port = int(os.getenv("PORT", os.getenv("APP_PORT", 8000)))
1902
host = os.getenv("APP_HOST", "0.0.0.0")
1903
1904
print("OMI GitHub Issues Integration (Chat Tools)")
0 commit comments