Trying Host Local Npm Server Ssl Using Module Https Wwwnpmjscom Package Http Server Server Q23582798

So I am trying to host a local npm server with ssl using thismodule:

The server loads but content type of my file isapplication/octet-stream. However, I want to set mime type for txtextension files to be application/json.

How can I do this?

Thank you for the help.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *