cnlohr / esp82xx

Useful ESP8266 C Environment
Other
288 stars 107 forks source link

Add gzip MIME types and delocalize build date #39

Closed piksel closed 7 years ago

piksel commented 7 years ago

CSS needs to be sent with the MIME type text/css or else most browsers will refuse to use it. This change will enable use of pre-compressed css files.

The -R switch to date makes the date appear the same on all locales (RFC-2822).

My editor also took the liberty and removed some spaces in the file so the diff is a bit messier than I'd like. I also forgot to make the changes to the dev branch, but after some git gymnastics I think I've fixed it. I added the latest change from master (62ab44e) too since it was too messy to not include it.