devServer: {
contentBase: path.resolve(__dirname, `./${folder}`),
compress: true,
port: 9000,
host: '0.0.0.0',
open: false,
historyApiFallback: true,
proxy: [
{
context: ['/api', '/dash'],
target: 'https://${systemUrl}/',
changeOrigin: true,
secure: true
},
{
context: ['/websocket'],
target: `wss://${systemUrl}/websocket/`,
changeOrigin: true,
ws: true
}
]
},