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

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

@ -30,7 +30,10 @@ public class ResponseHeaderFilter implements Filter {
@Override
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";
}
super.setContentType(type);

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

Loading…
Cancel
Save