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

sander/LogWarnon404 #644

Merged
merged 5 commits into from
Jun 23, 2020
Merged

sander/LogWarnon404 #644

merged 5 commits into from
Jun 23, 2020

Conversation

SanderElias
Copy link
Contributor

@SanderElias SanderElias commented Jun 22, 2020

Added more way's to handle 404 pages.
the "old" way routes are handled is now the "baseOnly" option.
the default way will provide the 'index.html' for all routes in scully.routes.json
then there is index, that will provide the index.html for all missing routes.
404 does the same as index, but uses the 404.html page.
and lastly, there is a none option, where we leave the handling to the express server.

added a test, and doesn't have breaking changes.

Also, it will help #641, where the option 404 would now close the issue

during GA it failed for the difference between scullyBlog and scully-blog.
@SanderElias SanderElias merged commit 871c869 into main Jun 23, 2020
@SanderElias SanderElias deleted the sander/LogWarnon404 branch June 23, 2020 10:24
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