From aa81ba4815a3bc25b4ecf983e9325581389c7064 Mon Sep 17 00:00:00 2001 From: Pin Lin Date: Sun, 31 Aug 2025 17:39:25 +0000 Subject: [PATCH] Fix to remove adding slash redirction --- url_shortener/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/url_shortener/urls.py b/url_shortener/urls.py index c8ed811..12e055a 100644 --- a/url_shortener/urls.py +++ b/url_shortener/urls.py @@ -23,5 +23,5 @@ from short_url.views import redirect_to_target urlpatterns = [ path("admin/", admin.site.urls), path("accounts/", include("allauth.urls")), - path("/", redirect_to_target, name="redirect_to_target"), + path("", redirect_to_target, name="redirect_to_target"), ]