Skip to content

Commit 0f013aa

Browse files
qpiasSpaceK33z
authored andcommitted
correct proxy options
1 parent 1c04206 commit 0f013aa

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)