Stock/app.py

13 lines
241 B
Python
Raw Normal View History

2022-05-25 03:16:39 +09:00
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)