Replies: 2 comments
-
I have the same problem and want to get rid of it. I decided to clear the browser "cache images and files." When I tried to send a GET request to my API, it worked, but the error response (stack) didn't display on my console. I tried it three times just to make sure that it will work (I tried it in edge and google browser), and it works. |
Beta Was this translation helpful? Give feedback.
0 replies
-
IIRC the stack should not be available in the prod build 🤔 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I made server API for validate some data on Nuxt like this :
so when i have bad inputs the createError function get called and i get some return like this :
the question is how can I remove that stack field in the error response because it is a bit annoying to have that in JSON response especially if you want share that api with others? I tried to remove it like this :
but it only remove content inside stack field and the field it self still exist
Beta Was this translation helpful? Give feedback.
All reactions