Wesley Gomes
servermiddleware routes are not recognized in production
My application communicates with several miscroservices, and I need to "hide" the API routes from the client, I'm trying the servermiddleware approach, on site it works, but when I go up to production it recognizes the route as being from the front and returns an html.
* code snippet: server-middleware/proxy.js *
`
call in nuxt.config.js
`
15 replies