You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The request from the browser goes to http://localhost:3000/graphql, but in the response I see (from Django) that the request came to http://localhost:3000/graphql/ and because my route on Django is set specifically to /graphql, it cannot be resolved.
I can add \/? to the expression on the backend side, but this is http://localhost:8000/graphql/ not what I wrote in the devProxy settings. This is a different url.
How to solve the problem? Or is it a bug?
Request in headers tab:
Request preview (Django response):
Django logs:
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Reproduction
Set the settings from my settings described below and make sure that the proxy request is sent to the wrong url from nitro side.
Describe the bug
nuxt config:
The request from the browser goes to
http://localhost:3000/graphql
, but in the response I see (from Django) that the request came tohttp://localhost:3000/graphql/
and because my route on Django is set specifically to/graphql
, it cannot be resolved.I can add
\/?
to the expression on the backend side, but this ishttp://localhost:8000/graphql/
not what I wrote in the devProxy settings. This is a different url.How to solve the problem? Or is it a bug?
Request in headers tab:
Request preview (Django response):
Django logs:
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: