ring-clojure / ring

Clojure HTTP server abstraction
MIT License
3.78k stars 520 forks source link

request: How to register wasm mime on clojure ring server? #470

Closed PlumpMath closed 2 years ago

PlumpMath commented 2 years ago

error: wasm streaming compile failed: TypeError: WebAssembly: Response has unsupported MIME type 'application/octet-stream' expected 'application/wasm'

How come there is no solution?

PlumpMath commented 2 years ago

https://github.com/ring-clojure/ring/issues/450#issuecomment-1059063914

I want to register the compressed file as well. If it can't be solved, boom... ha I'm so worried.

thanks.

weavejester commented 2 years ago

Closing as duplicate of #450. Please don't open new issues just to ask a question about an existing issue. Add a comment to the original issue instead.