openimsdk / openim-electron-demo

Instant Messaging web desktop
https://openim.io
Apache License 2.0
152 stars 174 forks source link

[BUG] WASM: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm' #70

Closed brucejia-creator closed 3 weeks ago

brucejia-creator commented 1 month ago

OpenIM Server Version

3.5.0

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

再部署服务器之后,报错 index-8eb74633.js:393 Failed to initialize WASM: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.

Screenshots Link

No response

lgz5689 commented 1 month ago

Is this your nginx configuration problems. See document