ring-clojure / ring

Clojure HTTP server abstraction
MIT License
3.73k stars 518 forks source link

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

Closed PlumpMath closed 1 year ago

PlumpMath commented 1 year 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 1 year 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 1 year 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.