This commit is contained in:
18500206848
2024-02-02 14:40:26 +08:00
parent 21a84c3035
commit 8964c6983f
253 changed files with 0 additions and 25212 deletions

View File

@@ -1,33 +0,0 @@
// module.exports = {
// devServer: {
// port: 8080,
// proxy: {
// '/api': {
// //本地服务接口地址
// target: 'http://m.jl.com',
// ws: true
// },
// '/blackboard': {
// //本地服务接口地址
// target: 'http://m.jl.com',
// ws: true
// },
// }
// }
// };
module.exports = {
devServer: {
port: 1887,
proxy: {
'/api': {
//本地服务接口地址
target: 'http://localhost:8000',
ws: true,
pathRewrite: {
'^/api': '/'
}
}
}
}
};