diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 42618fd97cd..aa1c18db772 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -270,7 +270,10 @@ public function index(string $token = '', string $callUser = '', string $passwor $this->eventDispatcher->dispatch('\OCP\Collaboration\Resources::loadAdditionalScripts', new GenericEvent()); $response = new TemplateResponse($this->appName, 'index', [ 'app' => Application::APP_ID, + 'id-app-content' => '#app-content-vue', + 'id-app-navigation' => '#app-navigation-vue', ]); + $csp = new ContentSecurityPolicy(); $csp->addAllowedConnectDomain('*'); $csp->addAllowedMediaDomain('blob:'); @@ -342,7 +345,11 @@ protected function guestEnterRoom(string $token, string $password): Response { $this->publishInitialStateForGuest(); - $response = new PublicTemplateResponse($this->appName, 'index'); + $response = new PublicTemplateResponse($this->appName, 'index', [ + 'id-app-content' => '#app-content-vue', + 'id-app-navigation' => null, + ]); + $response->setFooterVisible(false); $csp = new ContentSecurityPolicy(); $csp->addAllowedConnectDomain('*');