Skip to content

Commit ed43efa

Browse files
committed
correct proxy options
1 parent 3dd3e2a commit ed43efa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function Server(compiler, options) {
148148
if(typeof options.proxy[context] === 'string') {
149149
proxyOptions = {
150150
context: correctedContext,
151-
target: options.proxy[target]
151+
target: options.proxy[context]
152152
};
153153
} else {
154154
proxyOptions = options.proxy[context];

0 commit comments

Comments
 (0)