mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00

Add a way to skip https redirection, so we can still run it locally, and mark a couple of forms as requiring https.
5 lines
130 B
Python
5 lines
130 B
Python
def ssl_required(fn):
|
|
def _require_ssl(request, *_args, **_kwargs):
|
|
return fn(request, *_args, **_kwargs)
|
|
return _require_ssl
|