mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
Merge pull request #3027 from XhmikosR/patch-1
Serve JS files with utf-8 charset too
This commit is contained in:
commit
742d802940
@ -49,7 +49,7 @@ mimetype.assign = ( ".png" => "image/png",
|
|||||||
".jpeg" => "image/jpeg",
|
".jpeg" => "image/jpeg",
|
||||||
".html" => "text/html",
|
".html" => "text/html",
|
||||||
".css" => "text/css; charset=utf-8",
|
".css" => "text/css; charset=utf-8",
|
||||||
".js" => "application/javascript",
|
".js" => "application/javascript; charset=utf-8",
|
||||||
".json" => "application/json",
|
".json" => "application/json",
|
||||||
".txt" => "text/plain",
|
".txt" => "text/plain",
|
||||||
".svg" => "image/svg+xml" )
|
".svg" => "image/svg+xml" )
|
||||||
|
@ -51,7 +51,7 @@ mimetype.assign = ( ".png" => "image/png",
|
|||||||
".jpeg" => "image/jpeg",
|
".jpeg" => "image/jpeg",
|
||||||
".html" => "text/html",
|
".html" => "text/html",
|
||||||
".css" => "text/css; charset=utf-8",
|
".css" => "text/css; charset=utf-8",
|
||||||
".js" => "application/javascript",
|
".js" => "application/javascript; charset=utf-8",
|
||||||
".json" => "application/json",
|
".json" => "application/json",
|
||||||
".txt" => "text/plain",
|
".txt" => "text/plain",
|
||||||
".svg" => "image/svg+xml" )
|
".svg" => "image/svg+xml" )
|
||||||
|
Loading…
Reference in New Issue
Block a user