Skip to content

Commit e6bbbd7

Browse files
chore: fix lint
1 parent cb90876 commit e6bbbd7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

types/lib/Server.d.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1347,13 +1347,25 @@ declare class Server<
13471347
* @param {NextFunction} next
13481348
*/
13491349
private setHeaders;
1350+
/**
1351+
* @private
1352+
* @param {string} value
1353+
* @returns {boolean}
1354+
*/
1355+
private isHostAllowed;
13501356
/**
13511357
* @private
13521358
* @param {{ [key: string]: string | undefined }} headers
13531359
* @param {string} headerToCheck
13541360
* @returns {boolean}
13551361
*/
1356-
private checkHeader;
1362+
private isValidHost;
1363+
/**
1364+
* @private
1365+
* @param {{ [key: string]: string | undefined }} headers
1366+
* @returns {boolean}
1367+
*/
1368+
private isSameOrigin;
13571369
/**
13581370
* @param {ClientConnection[]} clients
13591371
* @param {string} type

0 commit comments

Comments
 (0)