Iskra API Reference
    Preparing search index...

    Interface UnmatchedOptions

    What a group does with a request under its prefix that no route takes.

    interface UnmatchedOptions {
        then?: 404 | "auto";
        use?: RouteHandler[];
    }
    Index
    then?: 404 | "auto"

    404 (the default), or 'auto': 405 with an Allow header when the path has routes for other methods, 404 otherwise.

    use?: RouteHandler[]

    Middleware to run first, such as an auth check, so a guest gets 401 instead of learning which paths exist. Default: the group's middleware.