Changes
1 changed files (+1/-1)
-
-
@@ -33,7 +33,7 @@ elif "petname" in p:petname = petname_to_pubkey[p['user'][0]][p["petname"][0]] print(f"http://{pubkey_to_server[petname]}/tunnel?pubkey={petname}&path={p['path'][0]}") res = get(f"http://{pubkey_to_server[petname]}/tunnel?pubkey={petname}&path={p['path'][0]}").text self.wfile.write(res) self.wfile.write(res.encode('utf-8')) elif func == "getinbox": user = p['user'][0] self.wfile.write(str(Fetch(user)).encode('utf-8'))
-