Skip to content

feat: support overwriting default 404 handler#3081

Merged
marvinhagemeister merged 2 commits intomainfrom
feat/default-404-handler
Jul 8, 2025
Merged

feat: support overwriting default 404 handler#3081
marvinhagemeister merged 2 commits intomainfrom
feat/default-404-handler

Conversation

@marvinhagemeister
Copy link
Collaborator

Fixes #1918

@marvinhagemeister marvinhagemeister merged commit 0b3546f into main Jul 8, 2025
9 checks passed
@marvinhagemeister marvinhagemeister deleted the feat/default-404-handler branch July 8, 2025 22:40
Comment on lines +248 to +249
* @param {() => Promise<Response>} [nextFn] overwrite default 404 handler
* @returns {Deno.ServeHandler}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: JSDoc types don't need to be defined since we're already using TypeScript

marvinhagemeister added a commit that referenced this pull request Jul 14, 2025
marvinhagemeister added a commit that referenced this pull request Jul 14, 2025
This reverts commit 0b3546f.

Reverting this because it will be superseded by
#3086
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

way to disable 404 route

2 participants