13 lines
241 B
Python
13 lines
241 B
Python
from distutils.log import debug
|
|
import flask
|
|
|
|
app = flask.Flask(__name__)
|
|
|
|
@app.route("/<m>")
|
|
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)
|
|
|