feat: setup project for docker deploy
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user