How to allow CORS? #1860
-
I started doing the rest server tutorial but my front end requests a different port than the server, so the browser sends me a CORS error, I haven't found how to enable it in the documentation, could you help me? thanks for your help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Can you please post exactly what you are doing and exactly what the error is ? (minimum possible showing the issue) |
Beta Was this translation helpful? Give feedback.
-
Please follow your browser and d4rkmen advice HERE and his link that explains how to do it. |
Beta Was this translation helpful? Give feedback.
Please follow your browser and d4rkmen advice HERE and his link that explains how to do it.
These are the docs for the reply function
https://mongoose.ws/documentation/#mg_http_reply
I bet the graphics there are clear enough