TOE HYPE
This commit is contained in:
parent
172c4f725a
commit
613b5dd829
17 changed files with 243 additions and 22 deletions
|
@ -102,8 +102,8 @@ def before_request():
|
|||
if '; wv) ' in ua: g.webview = True
|
||||
else: g.webview = False
|
||||
|
||||
if 'iphone' in ua or 'ipad' in ua or 'ipod' in ua or 'mac os' in ua or ' firefox/' in ua: g.seal = True
|
||||
else: g.seal = False
|
||||
if 'iphone' in ua or 'ipad' in ua or 'ipod' in ua or 'mac os' in ua or ' firefox/' in ua: g.inferior_browser = True
|
||||
else: g.inferior_browser = False
|
||||
|
||||
|
||||
@app.teardown_appcontext
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue