nuxt-proxy
nuxt-proxy copied to clipboard
not working on production generate mode nuxt3
My code is like
// proxy: {
// options: {
// target: 'http://example.com:8000',
// changeOrigin: true,
// pathRewrite: {
// '/auth': '/auth',
// '/site-test': '/site-test',
// '/site-prod': '/site-prod',
// },
// pathFilter: [
// '/auth',
// '/site-test',
// '/site-prod'
// ]
// }
// },
it works fine in devmode but when i write npm run generate and run .\output\public it returns 404