This shouldn't be necessary. Having `/admin/index.html` in the list of `mainHTML` files should be sufficient