Skip to content

Commit ab623c8

Browse files
committed
update coments
1 parent 5e2be56 commit ab623c8

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

deno.lock

Lines changed: 26 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/fresh/src/middlewares/ip_filter.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ export interface ipFilterOptions {
6565
* @param options Options for the IP Restriction middleware.
6666
* @returns The middleware handler function.
6767
*
68+
* Filters rule priority is denyList, then allowList.
69+
* If an IP is in the denyList, it will be blocked regardless of the allowList.
70+
*
6871
* @example Basic usage (with defaults)
6972
* ```ts
7073
* const app = new App<State>()

0 commit comments

Comments
 (0)