Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add 404 redirect #92

Closed
wants to merge 2 commits into from
Closed

fix: add 404 redirect #92

wants to merge 2 commits into from

Conversation

quanljh
Copy link

@quanljh quanljh commented Jan 5, 2025

Redirect all not-found URL accesses to /404 path.
This is useful for the backend to return a 404 http status code on a specific path

Copy link

github-actions bot commented Jan 5, 2025

Linting and formatting issues were automatically fixed. Please review the changes.

@naiba
Copy link
Member

naiba commented Jan 5, 2025


curl -I https://qio.ng/asddds
HTTP/2 404
date: Sun, 05 Jan 2025 07:14:48 GMT

@quanljh
Copy link
Author

quanljh commented Jan 5, 2025

@naiba See nezhahq/nezha#948

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.

2 participants