gruntjs / grunt-contrib-connect

Start a static web server.
http://gruntjs.com
MIT License
714 stars 146 forks source link

Changing content type of files #242

Closed Stefany93 closed 5 years ago

Stefany93 commented 6 years ago

Can I make the server either serve some files as text/html or force to change their content type?

Backstory, I am uploading files to S3 but in order to remove the .html extension I need to save them as without an extension and then add content type text/html while uploading. I'd like to be able to test them locally in the grunt-contrib-connect server with forcing their content type. Many thanks!

Stefany93 commented 6 years ago

Anyone ? :/

XhmikosR commented 5 years ago

Duplicate of #243