mirror of https://gitlab.com/bashrc2/epicyon
Re-enable debug
parent
db070ac0f7
commit
b6865be910
10
daemon.py
10
daemon.py
|
@ -15768,11 +15768,11 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
# for news instances if not logged in then show the
|
# for news instances if not logged in then show the
|
||||||
# front page
|
# front page
|
||||||
divert_path = '/users/news'
|
divert_path = '/users/news'
|
||||||
# if debug:
|
if debug:
|
||||||
print('DEBUG: divert_to_login_screen=' +
|
print('DEBUG: divert_to_login_screen=' +
|
||||||
str(divert_to_login_screen))
|
str(divert_to_login_screen))
|
||||||
print('DEBUG: authorized=' + str(authorized))
|
print('DEBUG: authorized=' + str(authorized))
|
||||||
print('DEBUG: path=' + path)
|
print('DEBUG: path=' + path)
|
||||||
if calling_domain.endswith('.onion') and onion_domain:
|
if calling_domain.endswith('.onion') and onion_domain:
|
||||||
self._redirect_headers('http://' +
|
self._redirect_headers('http://' +
|
||||||
onion_domain + divert_path,
|
onion_domain + divert_path,
|
||||||
|
|
Loading…
Reference in New Issue