Skip to content

Conversation

@J-Rojas
Copy link

@J-Rojas J-Rojas commented Sep 25, 2019

Fix for Content-Type: application/wasm

Adds support for mime types using --mime=.

Example:

http-server --mime='{ "text/plain": [ "txt", "md" ] }'

This configuration support Content-Type application/wasm using a hack (only way based on the ecstatic module version used).

Fix for Content-Type: application/wasm

Adds support for mime types using --mime=<JSON string>.

Example:

http-server --mime='{ "text/plain": [ "txt", "md" ] }'

This configuration support Content-Type application/wasm using a hack (only way based on the ecstatic module version used).
@madprogramer

This comment has been minimized.

@thornjad
Copy link
Member

This will be supported directly by #693

@thornjad thornjad closed this Jul 12, 2021
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

Successfully merging this pull request may close these issues.

3 participants