I am testing an app I made with WEBGL on a wordpress server. It works fine, but an error message appears when I start it.
I added the following to the htaccess for the top domain, and also added
wasm = application/wasm using the WP Add Mime Types plugin.
<IfModule mod_mime.c>
AddType application/wasm .wasm
AddEncoding gzip .gz
</IfModule>
<IfModule mod_headers.c>
<FilesMatch "\.wasm\.gz$">
Header set Content-Type "application/wasm"
Header set Content-Encoding "gzip"
</FilesMatch>
</IfModule>
I’ve tried clearing the cache but it doesn’t solve the problem. Is there anything else I can do?
