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 404 header on real 404 pages and some minor indentation #14

Merged
merged 1 commit into from
Jul 16, 2020

Conversation

Lomanic
Copy link
Contributor

@Lomanic Lomanic commented Nov 6, 2017

Previous PR #13 was faulty as it overrode the status code header to HTTP 200 even on 404 pages (on every pages).

This one fixes that, but defining a header in onRequestUrl is perhaps not the best (it looks like other Pico plugins set them in onPageRendering), but it works still.

@rewdy rewdy merged commit 81611d8 into rewdy:master Jul 16, 2020
@rewdy
Copy link
Owner

rewdy commented Jul 16, 2020

I'm sorry. Really lost track of this. MR merged.

@Lomanic
Copy link
Contributor Author

Lomanic commented Jul 25, 2020

I also forgot to ping you after a while, no problem.

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.

None yet

2 participants