diff --git a/api.py b/api.py index d28e3fb..bcc9f46 100644 --- a/api.py +++ b/api.py @@ -48,7 +48,7 @@ async def create_url(body: dict): # TODO: Calculate how many unique IDs we are actually generating url_id = uuid.uuid4().hex[:6] db[url_id] = { "full_url": body["url"], "user_id": body["username"] } - return { "shortenedUrl": "http://localhost:8000/" + url_id } + return { "shortenedUrl": "https://zipmy.link/" + url_id } else: raise HTTPException(status_code=400, detail="Url provided is invalid")