Spaces:
Sleeping
Sleeping
File size: 312 Bytes
369281b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from flask import Flask, render_template, send_from_directory
app = Flask(__name__)
@app.route('/')
def index():
return render_template('index.html')
@app.route('/static/<path:path>')
def send_static(path):
return send_from_directory('static', path)
if __name__ == '__main__':
app.run(debug=True) |