diff --git a/src/url-shortener/url-shortener.controller.ts b/src/url-shortener/url-shortener.controller.ts index bb8506c..345f486 100644 --- a/src/url-shortener/url-shortener.controller.ts +++ b/src/url-shortener/url-shortener.controller.ts @@ -25,7 +25,7 @@ export class UrlShortenerController { try { const originalUrl = this.urlShortenerService.getOriginalUrl(shortUrl); if (!originalUrl) { - return res.redirect('http://localhost:3000/404'); + return res.redirect('http://localhost:3001/404'); } return res.redirect(originalUrl); } catch (error) {