this prevents a blank page from showing up when a user visits a non-existing page on a static build
wip