from distutils.log import debug import flask app = flask.Flask(__name__) @app.route("/") def index(m:str): return flask.send_from_directory("dist", m) if __name__ == '__main__': app.run(host='0.0.0.0', port=12001, debug=True)