1 parent 2b11693 commit e62ca88Copy full SHA for e62ca88
1 file changed
public/webpack.config.js
@@ -67,11 +67,20 @@ module.exports = (env, args) => {
67
allowedHosts: "all",
68
port: 80,
69
static: "/static/js",
70
- proxy: {
71
- "/": "http://localhost:81",
72
- "/member": "http://localhost:81",
73
- "/shop": "http://localhost:81",
74
- },
+ proxy: [
+ {
+ context: ["/"],
+ target: "http://localhost:81",
+ },
75
76
+ context: ["/member"],
77
78
79
80
+ context: ["/shop"],
81
82
83
+ ],
84
},
85
infrastructureLogging: {
86
level: "error",
0 commit comments