mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 00:23:52 +00:00
9 lines
318 B
ApacheConf
9 lines
318 B
ApacheConf
# Ensure WebAssembly files are served with the correct MIME type
|
|
AddType application/wasm .wasm
|
|
|
|
# Add headers to enable SharedArrayBuffer and cross-origin isolation
|
|
<IfModule mod_headers.c>
|
|
Header set Cross-Origin-Opener-Policy "same-origin"
|
|
Header set Cross-Origin-Embedder-Policy "require-corp"
|
|
</IfModule>
|