]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Middleware/ApplyCspRules.php
fix(503): massively simplify the 503 error view
[bookstack] / app / Http / Middleware / ApplyCspRules.php
index 4c2b1e1da0d5587fc26f7fe0ddf30ca17cd062a6..6c9d14e7b6594af29c61d675533db0a78f2df271 100644 (file)
@@ -8,7 +8,6 @@ use Illuminate\Http\Request;
 
 class ApplyCspRules
 {
-
     /**
      * @var CspService
      */
@@ -38,8 +37,9 @@ class ApplyCspRules
 
         $this->cspService->setFrameAncestors($response);
         $this->cspService->setScriptSrc($response);
+        $this->cspService->setObjectSrc($response);
+        $this->cspService->setBaseUri($response);
 
         return $response;
     }
-
 }