File size: 356 Bytes
def9782
07adf07
def9782
b8c72c0
 
 
def9782
b3a2577
b8c72c0
 
cf34346
 
b3a2577
cf34346
 
b8c72c0
def9782
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_url_path="", 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)