5 lines
103 B
Python
5 lines
103 B
Python
import flask
|
|
|
|
|
|
def is_onion(req: flask.globals.request) -> bool:
|
|
return req.host.endswith("onion")
|