mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 00:45:22 +00:00
change default port to 8503
This commit is contained in:
parent
eaa23e6824
commit
226608dc9e
2
.env
2
.env
@ -1,5 +1,5 @@
|
||||
EOS_VERSION=latest
|
||||
EOS_PORT=3000
|
||||
EOS_PORT=8503
|
||||
|
||||
MARIADB_VERSION=11.1.6
|
||||
PYTHON_VERSION=3.12.6
|
||||
|
@ -350,7 +350,7 @@ def root():
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
host= os.getenv("FLASK_RUN_HOST", "0.0.0.0")
|
||||
port = os.getenv("FLASK_RUN_PORT", 3000)
|
||||
port = os.getenv("FLASK_RUN_PORT", 8503)
|
||||
app.run(debug=True, host=host, port=port)
|
||||
except:
|
||||
print(f"Coud not bind to host {host}:{port}, set FLASK_RUN_HOST and/or FLASK_RUN_PORT.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user