feat: setup project for docker deploy

This commit is contained in:
2025-07-23 22:00:35 +00:00
parent 98369ef531
commit 715bc90340
12 changed files with 139 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ async def redirect_to_original_url(shortcode: str):
raise HTTPException(status_code=404, detail=str(e)) from e
@router.post("/")
@router.post("/api/shorten")
async def create_url_shortcode(url_payload: UrlPayload):
url = str(url_payload.url)