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

Get custom 404 page working for all handlers #236

Merged
merged 1 commit into from
May 10, 2017

Conversation

SpamNeko
Copy link
Contributor

@SpamNeko SpamNeko commented May 9, 2017

Currently wraps functions intended for HandlerFunc and passes off to NotFoundHandler for all 404s, but NotFoundHandler doesn't play nice with gzip.

I'll probably try to make it wrap actual Handlers instead.

@SpamNeko
Copy link
Contributor Author

This now seems to be working, but I'll keep it WIP until I can test it a bit more later.

@SpamNeko SpamNeko changed the title Get custom 404 page working for all handlers (WIP) Get custom 404 page working for all handlers May 10, 2017
@SpamNeko
Copy link
Contributor Author

This seems to be good to go, fixes https://github.com/ewhal/nyaa/issues/135 and https://github.com/ewhal/nyaa/issues/227.

@ewhal ewhal merged commit 5b35b8c into NyaaPantsu:master May 10, 2017
@SpamNeko SpamNeko deleted the 404wrapper branch May 10, 2017 10:32
ibmibmibm pushed a commit to ibmibmibm/nyaa that referenced this pull request May 17, 2017
Get custom 404 page working for all handlers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants