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

better content-type for wasm #5520

Closed
eminence opened this issue Sep 25, 2018 · 4 comments
Closed

better content-type for wasm #5520

eminence opened this issue Sep 25, 2018 · 4 comments
Labels
kind/enhancement A net-new feature or improvement to an existing feature

Comments

@eminence
Copy link
Contributor

Type: Enhancement

Description:

I'd like to use ipfs to host small applications written in web assembly. Currently the public ipfs gateways are serving webassembly files (.wasm extension) with the application/octet-stream content-type. However browsers require that web assembly files be served with the application/wasm content-type.

This enhancement request is for the IPFS gateways to use the correct content type for .wasm files.

CC ipfs/infra#433

@Stebalien
Copy link
Member

Possibly related to #4025

@Stebalien Stebalien added the kind/enhancement A net-new feature or improvement to an existing feature label Sep 25, 2018
@lidel
Copy link
Member

lidel commented Dec 17, 2019

Related:

@eminence
Copy link
Contributor Author

Turns out this was fixed a while ago in 2e87ac8 🎉

This is pretty cool because now entirely self-contained webassembly apps can be deployed to / run from IPFS

@mar1n3r0
Copy link

mar1n3r0 commented Feb 2, 2022

Hey @eminence I am trying this with go-app.

Would you mind sharing how did you manage to produce a self-contained wasm application and to load it in the browser?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

4 participants