Server won't render 404.html: "File not found. Sorry." #222

Closed
opened 4 years ago by ergl · 2 comments
ergl commented 4 years ago (Migrated from github.com)

The pollen server won't let you access a file named 404.html if its at the root of the pollen project, as it clashes with the built-in 404.html page. I see you added a custom 404 message for the server in #94 so this file might be something that was never removed after that.

The pollen server won't let you access a file named `404.html` if its at the root of the pollen project, as it clashes with the [built-in 404.html page](https://github.com/mbutterick/pollen/blob/master/pollen/private/server-extras/404.html). I see you added a custom 404 message for the server in #94 so this file might be something that was never removed after that.
sorawee commented 4 years ago (Migrated from github.com)

More generally, everything in the server-extras directory will override existing files. favicon.ico is another one that it probably should not do that.

More generally, everything in the `server-extras` directory will override existing files. `favicon.ico` is another one that it probably should not do that.
mbutterick commented 4 years ago (Migrated from github.com)

Thanks for the report!

Thanks for the report!
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen#222
Loading…
There is no content yet.