We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53de75d commit 2201442Copy full SHA for 2201442
lib/Server.js
@@ -2896,6 +2896,7 @@ class Server {
2896
// allow if hostname is in allowedHosts
2897
if (Array.isArray(allowedHosts) && allowedHosts.length > 0) {
2898
for (let hostIdx = 0; hostIdx < allowedHosts.length; hostIdx++) {
2899
+ /** @type {string} */
2900
const allowedHost = allowedHosts[hostIdx];
2901
2902
if (allowedHost === hostname) {
0 commit comments