First approach is you could locally allow rewrite mime inside you project build beside index.html:
- Make a new file with extension “web.config” inside project folder beside index.html.
- Now, lets open that file and edit, put this code inside that file:
<system.webServer>
<staticContent>
<mimeMap fileExtension=".unityweb" mimeType ="TYPE/SUBTYPE" />
</staticContent>
</system.webServer>
*Note: This is to tell the server that there is a file known as .unityweb which is exported by unity.
Second Approach, is to add new mime type on your IIS server, just go to your server and click on MIME types.
- Add new, then the extention should be, .unityweb and type as TYPE/SUBTYPE
- Next is to reload/refresh/restart your web server. Now everything will now work as expected.
Example Live WebGL online:
http://www.bytes-crafter.com/united-database/