diff --git a/backend/src/app.ts b/backend/src/app.ts index 2d0ce9c..8934eb0 100644 --- a/backend/src/app.ts +++ b/backend/src/app.ts @@ -46,5 +46,6 @@ app.get("/p/:slug", getTxtHandler) // URL Shortener app.put("/api/url", putUrlHandler) app.get("/u/:slug", getUrlHandler) +app.get("/:slug", getUrlHandler) export default app \ No newline at end of file