Skip to content

Simplification of default routing

Compare
Choose a tag to compare
@g105b g105b released this 29 Apr 11:44
· 74 commits to master since this release

All URLs now force a trailing slash at the end of the URL path - this is beneficial because it allows client side code and server side headers to reference paths relatively (e.g. Location: ./ for a refresh, Location: ../other-dir/ to redirect to a sibling directory.

The default router has had non-page matches removed for simplicity, until the Router package has documented examples of non-page responses.