응답헤더 수정(charset=utf-8추가)

main
이범준 8 months ago
parent 97363e85de
commit 4b7fc7e405

@ -30,7 +30,10 @@ public class ResponseHeaderFilter implements Filter {
@Override @Override
public void setContentType(String type) { public void setContentType(String type) {
if(type.equals("text/css") || type.equals("application/javascript") || type.equals("image/svg+xml")) { if(type.equals("text/css")
|| type.equals("application/javascript")
|| type.equals("image/svg+xml")
|| type.equals("text/html")) {
type = type+";charset=UTF-8"; type = type+";charset=UTF-8";
} }
super.setContentType(type); super.setContentType(type);

@ -326,7 +326,6 @@ caption {
th { th {
font-weight: 600; font-weight: 600;
text-align: -webkit-match-parent;
text-align: inherit; text-align: inherit;
} }

Loading…
Cancel
Save