-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
41 lines (31 loc) · 891 Bytes
/
Copy pathapp.py
File metadata and controls
41 lines (31 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def index():
return render_template("index.html")
@app.route('/complimentary')
def complimentary():
return render_template("comp.html")
@app.route('/triadic')
def triadic():
return render_template("tri.html")
@app.route('/tetric')
def tetric():
return render_template("tetric.html")
@app.route('/hexadic')
def hexadic():
return render_template("hex.html")
@app.route('/about')
def about():
return render_template("about.html")
@app.route('/about/site')
def aboutSite():
return render_template("abt.html")
@app.route('/random')
def random():
return render_template("rand.html")
# Only run Flask's built-in server in local development
if __name__ == '__main__':
import os
port = int(os.environ.get('PORT', 33705))
app.run(debug=True, host='0.0.0.0', port=port)