diff --git a/daemon.py b/daemon.py index 34ac6e28..b1d20e95 100644 --- a/daemon.py +++ b/daemon.py @@ -1564,8 +1564,8 @@ class PubServer(BaseHTTPRequestHandler): self.path.endswith('/followingaccounts'): nickname = getNicknameFromActor(self.path) followingFilename = \ - self.baseDir + '/accounts/' + \ - nickname + '@' + self.domain + '/following.txt' + self.server.baseDir + '/accounts/' + \ + nickname + '@' + self.server.domain + '/following.txt' if not os.path.isfile(followingFilename): self._404() return