* * 200: OK */ #[NoAdminRequired] #[NoCSRFRequired] public function index(): TemplateResponse { return new TemplateResponse(Application::APP_ID, 'app', [ 'script' => Application::getViteEntryScript('app.ts'), 'style' => Application::getViteEntryScript('style.css'), ]); } /** * Main app page - catch all route * * @return TemplateResponse * * 200: OK */ #[NoAdminRequired] #[NoCSRFRequired] public function catchAll(string $path = ''): TemplateResponse { return $this->index(); } }