Skip to content

Commit

Permalink
chore(deps): update (#5096)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Mar 7, 2024
1 parent 53de75d commit 2201442
Show file tree
Hide file tree
Showing 3 changed files with 828 additions and 804 deletions.
1 change: 1 addition & 0 deletions lib/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2896,6 +2896,7 @@ class Server {
// allow if hostname is in allowedHosts
if (Array.isArray(allowedHosts) && allowedHosts.length > 0) {
for (let hostIdx = 0; hostIdx < allowedHosts.length; hostIdx++) {
/** @type {string} */
const allowedHost = allowedHosts[hostIdx];

if (allowedHost === hostname) {
Expand Down

0 comments on commit 2201442

Please sign in to comment.