File size: 336 Bytes
b8c72c0 cf8648f b8c72c0 b3a2577 b8c72c0 cf34346 b3a2577 cf34346 b8c72c0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
from flask import Flask, send_from_directory
app = Flask(__name__, static_folder="static")
@app.route("/")
def root():
return send_from_directory("static", "index.html")
@app.route("/sinus")
def sinus():
return send_from_directory("static", "sinus.html")
if __name__ == "__main__":
app.run(host="0.0.0.0", port=7860)
|