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
Above setup working fine in localhost, but when I create dist folder and deploy to server and run from the server, it is actually tried to fetch resource from server, not from proxy end point.
Let me know how to fix this issue, so my proxy URL will start working on server.
The text was updated successfully, but these errors were encountered:
Hi Team,
I am not able to call proxy url which I setup in target field in nuxt.config.js.
Sample code:
Nuxt.config.js:
modules: [ '@nuxtjs/proxy' ],
proxy: {
'/api/ :{
target: 'some external API Endpoint / URL',
pathRewrite: { '^/api/' : '/' },
changeOrigin: true
}
}
Above setup working fine in localhost, but when I create dist folder and deploy to server and run from the server, it is actually tried to fetch resource from server, not from proxy end point.
Let me know how to fix this issue, so my proxy URL will start working on server.
The text was updated successfully, but these errors were encountered: