我的树应用:
-app
-src
-assets
devServer: {
historyApiFallback: true,
port: 5200,
contentBase: './src/assets',
proxy: {
"/api": {
target: "http://app.cashlight.io/",
secure: false
},
"/config": {
target: "http://app.cashlight.io/",
secure: false
},
"/lang": {
target: "http://app.cashlight.io/",
secure: false
}
}
},