Przeglądaj źródła

try to fix cors

ilya_shyian 1 rok temu
rodzic
commit
f531639ced
1 zmienionych plików z 1 dodań i 1 usunięć
  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
     )))