Handle root redirect

This commit is contained in:
Quantum 2022-01-23 23:38:45 -05:00
parent b5bfac4b30
commit 42b39ca2ca

View file

@ -1,7 +1,10 @@
from functools import partial
from django.urls import path
from qlinks.views import short_link
urlpatterns = [
path('', partial(short_link, slug=''), name='short_link'),
path('<slug>', short_link, name='short_link'),
]