]> BookStack Code Mirror - bookstack/commitdiff
Manifest Tweaks
authorJonatanRek <redacted>
Thu, 10 Aug 2023 14:43:14 +0000 (16:43 +0200)
committerJonatanRek <redacted>
Thu, 10 Aug 2023 14:43:14 +0000 (16:43 +0200)
app/App/HomeController.php

index 64d2865ec62aa5aa81633d4fd648e566c2873e47..641b84fa8b8f6133bf6ce852d80547f079f8a487 100644 (file)
@@ -148,13 +148,13 @@ class HomeController extends Controller
     public function manifest()
     {   
         $manifest = [
-            "name" => config('app.name' | 'BookStack'), 
+            "name" => (config('app.name' | 'BookStack') ??'BookStack' ), 
             "short_name" => "bookstack", 
-            "start_url" => "/", 
-            "scope" => "/", 
+            "start_url" => "./", 
+            "scope" => ".", 
             "display" => "standalone", 
             "background_color" => setting('app-color'), 
-            "description" => config('app.name' | 'BookStack'), 
+            "description" =>( config('app.name' | 'BookStack') ??'BookStack'), 
             "categories" => [
                 "productivity", 
                 "lifestyle" 
Morty Proxy This is a proxified and sanitized view of the page, visit original site.