Skip to main content
Module

x/cav/mod.ts>TrailingSlashOpt

A server framework for Deno
Go to Latest
type alias TrailingSlashOpt
import { type TrailingSlashOpt } from "https://deno.land/x/cav@0.0.8/mod.ts";

Controls whether an Rpc redirects, allows, requires, or rejects paths with trailing slashes.

definition:
| "redirect"
| "allow"
| "require"
| "reject"