Update main.py
This commit is contained in:
parent
c745f3ce34
commit
8da2a72df5
@ -51,7 +51,6 @@ if __name__ == '__main__':
|
|||||||
port = int(read_config(("frontend", "http_port")))
|
port = int(read_config(("frontend", "http_port")))
|
||||||
except:
|
except:
|
||||||
port = 80
|
port = 80
|
||||||
print(port)
|
|
||||||
if read_config(("frontend", "remote_access")):
|
if read_config(("frontend", "remote_access")):
|
||||||
app.run(host="0.0.0.0", port=port)
|
app.run(host="0.0.0.0", port=port)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user