File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/kotlin/site/billilge/api/backend/global/security/jwt Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import site.billilge.api.backend.global.exception.ApiException
1010import site.billilge.api.backend.global.exception.ErrorResponse
1111import site.billilge.api.backend.global.exception.GlobalErrorCode
1212import java.io.IOException
13- import java.time.LocalDateTime
1413import java.util.*
1514
1615
@@ -31,6 +30,7 @@ class TokenAuthenticationFilter(
3130 if (exception !is ApiException ) return
3231
3332 handleException(response, exception)
33+ return
3434 }
3535 }
3636
@@ -43,7 +43,7 @@ class TokenAuthenticationFilter(
4343
4444 val content = ObjectMapper ().writeValueAsString(errorResponse)
4545
46- response.addHeader(" Content-Type" , " application/json" )
46+ response.addHeader(" Content-Type" , " application/json; charset=utf-8 " )
4747 response.writer.write(content)
4848 response.writer.flush()
4949 }
You can’t perform that action at this time.
0 commit comments