From 4a5b44f0e2527b43f10b769790de12421e6bfc5d Mon Sep 17 00:00:00 2001 From: starnakin Date: Tue, 21 Nov 2023 19:20:59 +0100 Subject: [PATCH] urls use /api/ and / to frontend --- trancendence/urls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trancendence/urls.py b/trancendence/urls.py index bcf420d..4623fa9 100644 --- a/trancendence/urls.py +++ b/trancendence/urls.py @@ -19,7 +19,7 @@ from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), - path('accounts/', include('accounts.urls')), - path('test/', include('frontend.urls')), - path('profiles/', include('profiles.urls')), + path('api/profiles/', include('profiles.urls')), + path('api/accounts/', include('accounts.urls')), + path('', include('frontend.urls')), ]