Skip to content
Myr

chore: update comments in codes (#3145)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Yusuke Wada · committed by GitHub · parent 1cee728 · Browse files · 2 files+14 added−9 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+14 added−9 removed

  • other:+14 added−9 removed

2 files+14 added−9 removed

modified:src/middleware/combine/index.ts+11 added-6 removed
modified:src/middleware/ip-restriction/index.ts+3 added-3 removed
1/**2 * Middleware for restrict IP Address2 * IP Restriction Middleware for Hono3 * @module4 */56import type { Context, MiddlewareHandler } from '../..'
105 unmodified lines
112 }113}114115/**116 * Rules for IP Limit Middleware116 * Rules for IP Restriction Middleware117 */118export interface IPRestrictionRules {119 denyList?: IPRestrictionRule[]120 allowList?: IPRestrictionRule[]121}122123/**124 * IP Limit Middleware124 * IP Restriction Middleware125 *126 * @param getIP function to get IP Address127 */128export const ipRestriction = (
50 unmodified lines