forked from indymedia/epicyon
Debug
parent
57ecb7bcd3
commit
a3b1d1b23f
10
daemon.py
10
daemon.py
|
@ -7770,11 +7770,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
|
||||||
divertPath = '/users/news'
|
divertPath = '/users/news'
|
||||||
if debug:
|
# if debug:
|
||||||
print('DEBUG: divertToLoginScreen=' +
|
print('DEBUG: divertToLoginScreen=' +
|
||||||
str(divertToLoginScreen))
|
str(divertToLoginScreen))
|
||||||
print('DEBUG: authorized=' + str(authorized))
|
print('DEBUG: authorized=' + str(authorized))
|
||||||
print('DEBUG: path=' + path)
|
print('DEBUG: path=' + path)
|
||||||
if callingDomain.endswith('.onion') and onionDomain:
|
if callingDomain.endswith('.onion') and onionDomain:
|
||||||
self._redirect_headers('http://' +
|
self._redirect_headers('http://' +
|
||||||
onionDomain + divertPath,
|
onionDomain + divertPath,
|
||||||
|
|
Loading…
Reference in New Issue