urls use /api/ and / to frontend

This commit is contained in:
starnakin 2023-11-21 19:20:59 +01:00
parent 45b782e94c
commit 4a5b44f0e2

View File

@ -19,7 +19,7 @@ from django.urls import path, include
urlpatterns = [ urlpatterns = [
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
path('accounts/', include('accounts.urls')), path('api/profiles/', include('profiles.urls')),
path('test/', include('frontend.urls')), path('api/accounts/', include('accounts.urls')),
path('profiles/', include('profiles.urls')), path('', include('frontend.urls')),
] ]