This commit is contained in:
fireworks88 2021-11-25 22:54:51 +01:00
parent f440b8f263
commit 7e54a70eee
2 changed files with 21 additions and 0 deletions

View file

@ -123,6 +123,10 @@ def before_request():
elif "Mobile/" in ua: g.system="ios/webview"
else: g.system="other/other"
@app.get('/tw')
def get_tailwind():
return render_template('tailwind.html')
@app.teardown_appcontext
def teardown_request(error):
if hasattr(g, 'db') and g.db: