test
This commit is contained in:
parent
f440b8f263
commit
7e54a70eee
2 changed files with 21 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue