Currently requires a hacky fix of the index.html template as the 404 only has the config in its context.