You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Independent of this apparent issue, on a related matter, it would be nice to have an option to set a charset on any content-type header so that other files like JavaScript could have a default of UTF-8 set by command line as well. Besides the need for those who use non-ASCII characters, viewing these files without such information can give annoying warnings in console.
Hi,
i cannot change "Content-Type:" header with command
$ static -H '{"Content-Type": "text/html;charset=UTF-8"}'
to switch-on UTF-8
node-static do not remember new Content-Type value, it use only "text/html"
What's wrong? It's a bug?
The text was updated successfully, but these errors were encountered: