Proxy don't change in build
-
Hi guys, when i build the webapp my proxy don’t change, remaining localhost:8080/api, but proxy table is set to localhost:3000/api in dev env.
my proxy table
proxyTable: {
‘/api’: {
target: ‘http://localhost:3000’,
“*”: “http://[::1]:8080”,
changeOrigin: true,
pathRewrite: {
‘^/api’: ‘http://localhost:3000/api’
}
}
}