mirror of
https://github.com/quantum5/qlinks.git
synced 2025-04-24 02:41:56 -04:00
12 lines
314 B
Python
12 lines
314 B
Python
from functools import partial
|
|
|
|
from django.urls import path
|
|
|
|
from qlinks.views import health_check, short_link
|
|
|
|
urlpatterns = [
|
|
path('', partial(short_link, path=''), name='short_link'),
|
|
path('api/health_check', health_check, name='health_check'),
|
|
path('<path:path>', short_link, name='short_link'),
|
|
]
|