Fix header title on public share (fix #323)

pull/260/head
Varun Patil 2023-01-04 12:38:44 -08:00
parent 8f4d50a377
commit 33a14932c4
1 changed files with 2 additions and 0 deletions

View File

@ -129,6 +129,8 @@ class PublicController extends AuthPublicShareController
$policy->addAllowedFrameDomain('www.openstreetmap.org');
$response = new PublicTemplateResponse($this->appName, 'main');
$response->setHeaderTitle($share->getNode()->getName());
$response->setFooterVisible(false); // wth is that anyway?
$response->setContentSecurityPolicy($policy);
return $response;