Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Commit 09b02f8

Browse files
committed
quick fix
1 parent 0480737 commit 09b02f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conference/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def isauth(request):
7777
if ALLOWED_IPS and best_effort_ip not in ALLOWED_IPS:
7878
return _error(ApiError.UNAUTHORIZED, 'you are not authorized here')
7979

80-
if request.scheme != 'http':
80+
if request.scheme != 'https':
8181
return _error(ApiError.WRONG_SCHEME, 'please use HTTPS')
8282

8383
if request.method != 'POST':

0 commit comments

Comments
 (0)