Skip to content

Commit dc3eed7

Browse files
committed
Remove proxy as a string option ({ proxy: "/api" }), which wasn't working anyway
1 parent 57e0f89 commit dc3eed7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/Server.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,6 @@ function Server(compiler, options) {
124124

125125
proxy: function() {
126126
if(options.proxy) {
127-
/**
128-
* Assume a proxy configuration specified as:
129-
* proxy: 'a url'
130-
*/
131-
if(typeof options.proxy === "string") {
132-
options.proxy = [{
133-
context: options.proxy
134-
}];
135-
}
136-
137127
/**
138128
* Assume a proxy configuration specified as:
139129
* proxy: {

0 commit comments

Comments
 (0)