forked from indymedia/epicyon
Debug
parent
18f20152d0
commit
0dc6d39de5
|
@ -4831,6 +4831,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
'/events?page=' in self.path:
|
'/events?page=' in self.path:
|
||||||
if '/users/' in self.path:
|
if '/users/' in self.path:
|
||||||
if authorized:
|
if authorized:
|
||||||
|
# convert /events to /tlevents
|
||||||
if self.path.endswith('/events') or \
|
if self.path.endswith('/events') or \
|
||||||
'/events?page=' in self.path:
|
'/events?page=' in self.path:
|
||||||
self.path = self.path.replace('/events', '/tlevents')
|
self.path = self.path.replace('/events', '/tlevents')
|
||||||
|
@ -4844,6 +4845,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.httpPrefix,
|
self.server.httpPrefix,
|
||||||
maxPostsInFeed, 'tlevents',
|
maxPostsInFeed, 'tlevents',
|
||||||
authorized, self.server.ocapAlways)
|
authorized, self.server.ocapAlways)
|
||||||
|
print('eventsFeed: ' + str(eventsFeed))
|
||||||
if eventsFeed:
|
if eventsFeed:
|
||||||
if self._requestHTTP():
|
if self._requestHTTP():
|
||||||
nickname = self.path.replace('/users/', '')
|
nickname = self.path.replace('/users/', '')
|
||||||
|
|
Loading…
Reference in New Issue