Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部署到本地服务器上报错了 #39

Open
lulala3344 opened this issue Dec 27, 2024 · 1 comment
Open

部署到本地服务器上报错了 #39

lulala3344 opened this issue Dec 27, 2024 · 1 comment

Comments

@lulala3344
Copy link

ammo.wasm-Bh-262jU.js:25 wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
大佬知道怎么配置吗

@xiangechen
Copy link
Owner

nginx?mime.types 文件中加上 application/wasm wasm; 试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants