Prepare app for working behind a proxy (nginx).

Adapt user form
This commit is contained in:
Josako
2024-05-30 07:39:05 +02:00
parent ce91323dc9
commit e5a36798bf
1083 changed files with 326 additions and 331832 deletions

View File

@@ -1,11 +1,6 @@
from eveai_app import create_app
from gevent.pywsgi import WSGIServer
app = create_app()
if __name__ == '__main__':
print("Server starting on port 5001")
http_server = WSGIServer(('0.0.0.0', 5001), app) # Wrap up the Flask App using Gevent
http_server.serve_forever() # Continuously listens for incoming requests
app.run(debug=True)