summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-09-06 19:36:13 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-09-06 19:36:13 -0400
commit9beca5fcb35a0bb4b654f1fac92dc53b8f117a1f (patch)
treee86fe0c8c5a226c279168d659260c7134060bdf7
parent3a93b8f26ac44823830c88ea659c149fa693d8ad (diff)
downloadpypaste-9beca5fcb35a0bb4b654f1fac92dc53b8f117a1f.tar.gz
do not prepend "https://" to generated links
-rw-r--r--pypaste/__main__.py2
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 (