serve-handler
serve-handler copied to clipboard
Error templates in child folders
I'm using the serve
package and I'd like to serve different 404 templates depending on the folder:
-
en/asdasd
should showen/404.html
. -
pt/asdasd
should showpt/404.html
. -
asdasd
should show/404.html
.
Basically first check in the current folder, then start travelling up the tree.
Is this currently possible?