open-registry
open-registry copied to clipboard
package metadata has wrong MIME type
When I try curl -I https://npm.open-registry.dev/http-hooks I get Content-Type: text/html. This should be application/json yes?
Yup, absolutely. Thanks for the report!
Fixing this would involve changing the metadata-handler to return with content-type, just like the index-handler does.
This would be a good first issue for someone to implement if they are not familiar with the project. Let me know if the instructions above are not clear enough.