commit | author | age | ||
e3ba12 | 1 | const { environment } = require('./config/environment.js') |
Z | 2 | |
3 | module.exports = { | |
4 | devServer: { | |
5 | port: 9001, | |
6 | proxy: { | |
7 | '/': { | |
8 | target: environment.baseURL, | |
9 | ws: true, | |
10 | changeOrigin: true, | |
11 | pathRewrite: { | |
12 | '^/': '' | |
13 | } | |
14 | } | |
15 | }, | |
16 | } | |
17 | } |