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

Modify static files router and 404 pages generator #497

Merged
merged 1 commit into from
Jul 2, 2020
Merged

Modify static files router and 404 pages generator #497

merged 1 commit into from
Jul 2, 2020

Conversation

an-tao
Copy link
Member

@an-tao an-tao commented Jul 1, 2020

  1. Except for the GET method, it is forbidden to use any other method for accessing static files.

  2. Use following sequence to create 404 pages.

  • try to use user customized 404 handler;
  • try to use user customized error handler;
  • use default handler to create 404 pages;

@an-tao an-tao merged commit f871d16 into master Jul 2, 2020
@an-tao an-tao deleted the dev branch July 2, 2020 01:59
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.

1 participant