Skip to content

Commit 387f219

Browse files
fix(server): switch clients properly when whitelist exists
1 parent 3a2c175 commit 387f219

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.idea/jsLinters/eslint.xml

-6
This file was deleted.

bin/server.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ function filterClientOptions(inputOptions, clientToUseForMessage) {
208208
return inputOptions;
209209
}
210210

211-
const outputOptions = {};
211+
const outputOptions = {
212+
clientToUse: clientToUseForMessage,
213+
};
212214

213215
for (const property of Object.keys(inputOptions)) {
214216
const allowed = whitelist.includes(property);

0 commit comments

Comments
 (0)