diff --git a/server/proj/conf/urls.py b/server/proj/conf/urls.py index 1f3a6f8..1cc7d55 100644 --- a/server/proj/conf/urls.py +++ b/server/proj/conf/urls.py @@ -1,5 +1,5 @@ from django.contrib import admin -#from rest_framework.documentation import include_docs_urls +from rest_framework.documentation import include_docs_urls from django.urls import path, include # from api.views import AzuraNowPlayingWebhookView from loginApi.views import login, register @@ -25,8 +25,8 @@ urlpatterns = [ path('api/token/', TokenObtainPairView.as_view(), name='token_obtain_pair'), path('api/token/refresh/', TokenRefreshView.as_view(), name='token_refresh'), path('api/token/verify/', TokenVerifyView.as_view(), name='token_verify'), - #path('api/', include_docs_urls(title='API docs')), - path('api/', include(router.urls)), + path('api/', include_docs_urls(title='API docs')), + #path('api/', include(router.urls)), path('api-auth/', include('rest_framework.urls', namespace='rest_framework')), # path('webhook/', AzuraNowPlayingWebhookView.as_view(), name='webhook-receiver'),