zouhir / preact-habitat

Zero configuration Preact widgets renderer in any host DOM
MIT License
518 stars 43 forks source link

[Question] Why do you use `text/props` as MIME type for the config element? #39

Closed PhilippMi closed 5 years ago

PhilippMi commented 5 years ago

text/props is not a standard MIME type (https://www.iana.org/assignments/media-types/media-types.xhtml#text) and IMHO application/json would be better suited since the content is in JSON.

ascorbic commented 5 years ago

Thanks. Fixed by #43. This will be in the next release.