aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2015-12-25 10:27:01 +0300
committerGravatar Vitaly Takmazov2015-12-25 10:27:01 +0300
commit55ff084f3538216a6aab76973e32ee0c8515b00d (patch)
treeb932eb2bac085c6d7b0aaac4a21dc601cb7fb078
parent89cd9060b1880ba3d41b5c9349552f61a35d80b0 (diff)
fix js/css charset
-rw-r--r--src/main/webapp/WEB-INF/web.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
index a7cb489a..72777b83 100644
--- a/src/main/webapp/WEB-INF/web.xml
+++ b/src/main/webapp/WEB-INF/web.xml
@@ -16,6 +16,14 @@
<servlet-name>default</servlet-name>
<url-pattern>/style.css</url-pattern>
</servlet-mapping>
+ <mime-mapping>
+ <extension>js</extension>
+ <mime-type>application/javascript;charset=UTF-8</mime-type>
+ </mime-mapping>
+ <mime-mapping>
+ <extension>css</extension>
+ <mime-type>text/css;charset=UTF-8</mime-type>
+ </mime-mapping>
<session-config>
<session-timeout>
30