Skip to content

Commit

Permalink
modified server
Browse files Browse the repository at this point in the history
  • Loading branch information
a19hu committed Oct 10, 2024
1 parent 458b85c commit 2f60c94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/backend/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from django.conf.urls.static import static

urlpatterns = [
path('admin/', admin.site.urls),
path("graphql/", csrf_exempt(GraphQLView.as_view(graphiql=True))),
path("", include("api.urls")),
path('ftadmin/admin/', admin.site.urls),
path("ftadmin/graphql/", csrf_exempt(GraphQLView.as_view(graphiql=True))),
path("ftadmin/", include("api.urls")),
]

urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

0 comments on commit 2f60c94

Please sign in to comment.