Explorar o código

#4266 Wrong 'start_url' in site manifest

Alex Trofimov %!s(int64=3) %!d(string=hai) anos
pai
achega
077b4b6825
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      manifest.json.php

+ 2 - 2
manifest.json.php

@@ -16,7 +16,7 @@ require_once('./inc/header.inc.php');
 $aContent = [
     'name' => '',
     'short_name' => '',
-    'start_url' => '/',
+    'start_url' => parse_url(BX_DOL_URL_ROOT, PHP_URL_PATH),
     'display' => 'standalone',
 ];
 
@@ -72,4 +72,4 @@ if(!empty($aAdi) && is_array($aAdi))
 header("Content-Type: application/json");
 header("X-Robots-Tag: none");
 echo json_encode($aContent);
-?>
+?>