main
Bob Mottram 2020-10-13 13:52:12 +01:00
parent 57ecb7bcd3
commit a3b1d1b23f
1 changed files with 5 additions and 5 deletions

View File

@ -7770,11 +7770,11 @@ class PubServer(BaseHTTPRequestHandler):
# for news instances if not logged in then show the
# front page
divertPath = '/users/news'
if debug:
print('DEBUG: divertToLoginScreen=' +
str(divertToLoginScreen))
print('DEBUG: authorized=' + str(authorized))
print('DEBUG: path=' + path)
# if debug:
print('DEBUG: divertToLoginScreen=' +
str(divertToLoginScreen))
print('DEBUG: authorized=' + str(authorized))
print('DEBUG: path=' + path)
if callingDomain.endswith('.onion') and onionDomain:
self._redirect_headers('http://' +
onionDomain + divertPath,