forked from indymedia/epicyon
Full actor path
parent
673d7f6075
commit
5c350d1671
|
@ -9126,7 +9126,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if '/' in nickname:
|
if '/' in nickname:
|
||||||
nickname = nickname.split('/')[0]
|
nickname = nickname.split('/')[0]
|
||||||
usersPath = '/users/' + nickname
|
usersPath = '/users/' + nickname
|
||||||
actorStr = path.split('/users/')[0] + usersPath
|
actorStr = self.server.httpPrefix + '://' + self.server.domainFull + \
|
||||||
|
path.split('/users/')[0] + usersPath
|
||||||
if callingDomain.endswith('.onion') and self.server.onionDomain:
|
if callingDomain.endswith('.onion') and self.server.onionDomain:
|
||||||
actorStr = 'http://' + self.server.onionDomain + usersPath
|
actorStr = 'http://' + self.server.onionDomain + usersPath
|
||||||
elif (callingDomain.endswith('.i2p') and self.server.i2pDomain):
|
elif (callingDomain.endswith('.i2p') and self.server.i2pDomain):
|
||||||
|
|
Loading…
Reference in New Issue