From 42bee345bdd1dbef6e1d386e48953b81783d9e00 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 23 Oct 2019 22:50:23 +0100 Subject: [PATCH] Set default path to inbox --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 20b2c675..a3395a05 100644 --- a/daemon.py +++ b/daemon.py @@ -651,7 +651,7 @@ class PubServer(BaseHTTPRequestHandler): if authorized: if self.path=='/': if self.headers.get('Nickname'): - self.path='/users/'+self.headers.get('Nickname'): + self.path='/users/'+self.headers['Nickname']+'/inbox' if self.server.debug: print('GET Authorization granted') else: