diff options
author | John Turner <jturner.usa@gmail.com> | 2025-09-06 19:36:13 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2025-09-06 19:36:13 -0400 |
commit | 9beca5fcb35a0bb4b654f1fac92dc53b8f117a1f (patch) | |
tree | e86fe0c8c5a226c279168d659260c7134060bdf7 | |
parent | 3a93b8f26ac44823830c88ea659c149fa693d8ad (diff) | |
download | pypaste-9beca5fcb35a0bb4b654f1fac92dc53b8f117a1f.tar.gz |
do not prepend "https://" to generated links
-rw-r--r-- | pypaste/__main__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pypaste/__main__.py b/pypaste/__main__.py index 342d4b0..a2a8de2 100644 --- a/pypaste/__main__.py +++ b/pypaste/__main__.py @@ -270,7 +270,7 @@ class App: print(f"failed to insert {key} into database: {e}", file=sys.stderr) return web.HTTPInternalServerError() - return web.HTTPOk(text=f"https://{self.config.site}/paste/{key}") + return web.HTTPOk(text=f"{self.config.site}/paste/{key}") async def vacuum(self): while ( |