1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- let proxy = {
- "/api/ecs_core": {
- target: "http://192.168.10.39:8848",
- changeOrigin: true
- },
- "/api/ecs_exam_work": {
- target: "http://192.168.10.39:8858",
- changeOrigin: true
- },
- "/api/ecs_ques": {
- target: "http://192.168.10.39:8868",
- changeOrigin: true
- },
- "/api/ecs_oe": {
- target: "http://192.168.10.39:8878",
- changeOrigin: true
- },
- "/api/ecs_marking": {
- target: "http://192.168.10.39:8888",
- changeOrigin: true
- }
- };
- var webpack = require("webpack");
- module.exports = {
- devServer: {
- proxy
- },
- configureWebpack: {
- plugins: [
-
- new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)
- ]
- }
- };
|