Redirect to welcome

main
Bob Mottram 2021-02-25 18:29:23 +00:00
parent c63912ed05
commit 55c6faf20b
1 changed files with 3 additions and 1 deletions

View File

@ -10383,7 +10383,9 @@ class PubServer(BaseHTTPRequestHandler):
if not isWelcomeScreenComplete(self.server.baseDir,
nickname,
self.server.domain):
self.path = '/users/' + nickname + '/welcome'
self._redirect_headers('/users/' + nickname + '/welcome',
cookie, callingDomain)
return
if not htmlGET and \
usersInPath and self.path.endswith('/pinned'):