forked from AFPy/afpy.org
16 lines
341 B
Python
16 lines
341 B
Python
![]() |
from flask import Flask, render_template
|
||
|
|
||
|
app = Flask(__name__)
|
||
|
|
||
|
|
||
|
@app.route('/')
|
||
|
def index():
|
||
|
return render_template('index.html')
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
from sassutils.wsgi import SassMiddleware
|
||
|
app.wsgi_app = SassMiddleware(app.wsgi_app, {
|
||
|
'afpy': ('sass', 'static/css', '/static/css')})
|
||
|
app.run(debug=True)
|