broadfield-dev commited on
Commit
369281b
·
verified ·
1 Parent(s): 3aa27ee

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from flask import Flask, render_template, send_from_directory
2
+
3
+ app = Flask(__name__)
4
+
5
+ @app.route('/')
6
+ def index():
7
+ return render_template('index.html')
8
+
9
+ @app.route('/static/<path:path>')
10
+ def send_static(path):
11
+ return send_from_directory('static', path)
12
+
13
+ if __name__ == '__main__':
14
+ app.run(debug=True)