import os import sys # DON\"T CHANGE THIS !!! sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) from src import create_app app = create_app() @app.route("/") def index(): return app.send_static_file("index.html") @app.route("/") def static_proxy(path): return app.send_static_file(path) if __name__ == "__main__": app.run(host="0.0.0.0", port=5000, debug=True)