Avoiding wasm MIME warnings in WebGL

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?

Have you tried adding .htaccess file to the Build folder? I had a similar error when I first built mine.

I placed it in the same directory as the build folder and the error disappeared! Thank you!