mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-07 05:34:12 +08:00
Solve Nextcloud Content-Security-Policy issue in debug mode
https://github.com/the-djmaze/snappymail/issues/96#issuecomment-1282946881
This commit is contained in:
parent
93d8b5a419
commit
5abc6a3034
2 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,7 @@ class PageController extends Controller
|
|||
*/
|
||||
public function appGet()
|
||||
{
|
||||
SnappyMailHelper::startApp();
|
||||
\RainLoop\Service::Handle();
|
||||
SnappyMailHelper::startApp(true);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -58,6 +58,7 @@ class SnappyMailHelper
|
|||
}
|
||||
|
||||
if ($handle) {
|
||||
\header_remove('Content-Security-Policy');
|
||||
\RainLoop\Service::Handle();
|
||||
exit;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue