type alias PathPattern
Since 0.5.0

One exclusion entry: an exact path, or a pattern tested against the path.

A string is compared with === against IRequest.path, never as a prefix — '/health' does not exempt /healthz. Use a RegExp when a prefix or a family of paths is meant.

Definition

string | RegExp

Usage

import { type PathPattern } from "common/src/index.ts";