Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion lib/Controller/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:');
Expand Down Expand Up @@ -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('*');
Expand Down