Browse Source

try to fix cors

ilya_shyian 1 year ago
parent
commit
f531639ced
1 changed files with 1 additions and 1 deletions
  1. 1 1
      store_back/urls.py

+ 1 - 1
store_back/urls.py

@@ -16,7 +16,7 @@ urlpatterns = [
     path('api/upload/',image_upsert),
     path('api/auth/',include('authAPI.urls')),
     path('api/admin/', admin.site.urls),
-    path('/api/graphql/',csrf_exempt(GraphQLView.as_view(
+    path('api/graphql/',csrf_exempt(GraphQLView.as_view(
         graphiql=True,
         schema = schema
     )))