feat: add IP filter middleware (#3035)
Closes #3011 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Bartek Iwańczuk
Claude Opus 4.6
parent
e0ee53d458
commit
566a6ce5e4
@@ -13,6 +13,11 @@ export type { Middleware, MiddlewareFn } from "./middlewares/mod.ts";
|
||||
export { staticFiles } from "./middlewares/static_files.ts";
|
||||
export { csrf, type CsrfOptions } from "./middlewares/csrf.ts";
|
||||
export { cors, type CORSOptions } from "./middlewares/cors.ts";
|
||||
export {
|
||||
ipFilter,
|
||||
type IpFilterOptions,
|
||||
type IpFilterRules,
|
||||
} from "./middlewares/ip_filter.ts";
|
||||
export { csp, type CSPOptions } from "./middlewares/csp.ts";
|
||||
export type { FreshConfig, ResolvedFreshConfig } from "./config.ts";
|
||||
export type { Context, FreshContext, Island } from "./context.ts";
|
||||
|
||||
Reference in New Issue
Block a user