yakamara / redaxo_yrewrite

A multidomain URL rewrite engine for REDAXO
MIT License
56 stars 35 forks source link

add missing mime type application/wasm to .wasm files #377

Closed novinet-markusd closed 2 years ago

novinet-markusd commented 3 years ago

add missing mime type application/wasm to .wasm files

currently loaded will be rejected by the browser. error message in chrome console:

Uncaught (in promise) TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.

this pull requests adds the type to the .htaccess file located in setup/.htaccess. I guess this file will be written to root, when someone clicks setup/htaccess-Datei setzen in the addon backend page