Skip to content

Commit 2201442

Browse files
chore(deps): update (#5096)
1 parent 53de75d commit 2201442

File tree

3 files changed

+828
-804
lines changed

3 files changed

+828
-804
lines changed

lib/Server.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2896,6 +2896,7 @@ class Server {
28962896
// allow if hostname is in allowedHosts
28972897
if (Array.isArray(allowedHosts) && allowedHosts.length > 0) {
28982898
for (let hostIdx = 0; hostIdx < allowedHosts.length; hostIdx++) {
2899+
/** @type {string} */
28992900
const allowedHost = allowedHosts[hostIdx];
29002901

29012902
if (allowedHost === hostname) {

0 commit comments

Comments
 (0)