Przeglądaj źródła

[HTML5] Fix bogus Web Editor manifest.

The `start_url` in the PWA manifest.json must be relative for it to
work in subfolders (like in the official Web Editor page).

(cherry picked from commit 85c1a41021b3006f556ede209055c30e976beae1)
Fabio Alessandrelli 4 lat temu
rodzic
commit
3ed72c3ef4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      misc/dist/html/manifest.json

+ 1 - 1
misc/dist/html/manifest.json

@@ -3,7 +3,7 @@
   "short_name": "Godot",
   "short_name": "Godot",
   "description": "Multi-platform 2D and 3D game engine with a feature-rich editor",
   "description": "Multi-platform 2D and 3D game engine with a feature-rich editor",
   "lang": "en",
   "lang": "en",
-  "start_url": "/godot.tools.html",
+  "start_url": "./godot.tools.html",
   "display": "standalone",
   "display": "standalone",
   "orientation": "landscape",
   "orientation": "landscape",
   "theme_color": "#478cbf",
   "theme_color": "#478cbf",