Bug report for trillium-static-compiled: Missing charset in response headers
mathiversen opened this issue · comments
When i try to serve a .js
file i get this error in firefox: Uncaught SyntaxError: identifier starts immediately after numeric literal
and it looks like charset=utf-8
is missing in the content-type.
Not sure if you can just add the charset here: static-compiled or if you want to do something else.
In short i think it should be: Content-Type: "application/javascript; charset=utf-8"
Thanks for filing this! Will get a patch release out today
Closed by #106 and released as trillium-static-compiled v0.3.1