Skip to content

Commit

Permalink
fix: Redirect Link
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Sunglasses committed Dec 10, 2023
1 parent ccd9e91 commit 918381e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/paste/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ def web_post(content: str = Form(...)):
print(e)
raise HTTPException(detail="There was an error uploading the file", status_code=status.HTTP_403_FORBIDDEN)

return RedirectResponse(f"http://localhost:8000/{uuid}/", status_code=status.HTTP_303_SEE_OTHER)
return RedirectResponse(f"http://paste.fosscu.org/{uuid}/", status_code=status.HTTP_303_SEE_OTHER)

0 comments on commit 918381e

Please sign in to comment.