from flask import Flask app = Flask(__name__, static_folder="./web/dist/", static_url_path="") @app.route("/") def main(): return app.send_static_file("index.html") if __name__ == "__main__": app.run(debug=True)