Переглянути джерело

Note on MIME type for live update files

Björn Ritzl 5 роки тому
батько
коміт
be78c29223
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      docs/en/manuals/live-update.md

+ 4 - 0
docs/en/manuals/live-update.md

@@ -152,6 +152,10 @@ When storing a new manifest the manifest data will be verified before it is actu
 
 From the user's perspective the verification process is completely opaque but it is important to note the steps involved to avoid the most common pitfalls.
 
+::: important
+If you see a "ERROR:RESOURCE: Byte mismatch in decrypted manifest signature. Different keys used for signing?" error in the console on HTML5 builds it is likely that your webserver doesn't serve the excluded content or updated manifest file using the correct MIME type. Make sure the MIME type is `application/octet-stream`. You can add a `.htaccess` file with a single `AddType application/octet-stream .` line to the folder where the live update resources are downloaded from.
+:::
+
 ### Supported engine versions
 A manifest will always support the Defold version used when generating it. If you want to support any additional engine versions, add them to the list in the Live update settings. This can be useful if your live game uses a different Defold version than the one you are using to generate the manifest with.