We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a93b50 commit 779b17aCopy full SHA for 779b17a
1 file changed
src/server.ts
@@ -1154,30 +1154,6 @@ class Server<
1154
options.port = Number(options.port);
1155
}
1156
1157
- /**
1158
- * Assume a proxy configuration specified as:
1159
- * proxy: {
1160
- * 'context': { options }
1161
- * }
1162
- * OR
1163
1164
- * 'context': 'target'
1165
1166
- */
1167
- if (typeof options.proxy !== 'undefined') {
1168
- options.proxy = options.proxy.map((item) => {
1169
- if (typeof item === 'function') {
1170
- return item;
1171
- }
1172
-
1173
- if (typeof item.logger === 'undefined') {
1174
- item.logger = this.logger as EXPECTED_ANY;
1175
1176
1177
1178
- });
1179
1180
1181
if (typeof options.setupExitSignals === 'undefined') {
1182
options.setupExitSignals = true;
1183
0 commit comments