How I solved - HTTP Response Header 'Content-Type' configured incorrectly on the server for file...

preview_player
Показать описание
In this video I show the procedure I used to solve the error with the message:
HTTP Response Header "Content-Type" configured incorrectly on the server for file Build/WebGL.wasm, should be "application/wasm". Startup time performance will suffer.
The idea is to create an htaccess file and add it to the build folder of your WebGL application, the upload all the content to the server.

Here you have the instructions to paste in the htaccess file:
WARNING: THE "GREATER THAN" AND "LESS THAN" SIGNS WERE REPLACED BY "{" AND "}", CHECK THE INSTRUCTIONS IN THE VIDEO

{IfModule mod_mime.c}
AddType application/wasm .wasm
{/IfModule}

____________________________________________________________
Watch the following repository where I'll be sharing solutions and examples for Unity
👇

____________________________________________________________
Рекомендации по теме
Комментарии
Автор

I saw several videos and only this one solved my problem, thank you very much

weltonthierree
Автор

I have a very basic server, I have tried dozens of solutions and your idea is the only one that works for me. Thank you!

latabletagrafica
Автор

Just what I needed, nothing else was working. Thank you!!

catsalinas
Автор

Thanks, thans, and thanks! This way works fine. Very important a hard refresh with CTRL+F5 to see the real results in your website, yes...👌

AngelMataElZurdo
Автор

yes but what if you are running on nginx server? u do the same thing with .htaccess?

egretfx
Автор

It's not working. I've tried everything.

redabeg