Skip to content

Commit fcf21c6

Browse files
committed
feat(ProblemDetail): type 삭제
1 parent 0f38b46 commit fcf21c6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/com/somemore/auth/jwt/filter/JwtExceptionFilter.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import org.springframework.web.filter.OncePerRequestFilter;
1616

1717
import java.io.IOException;
18-
import java.net.URI;
1918

2019
@RequiredArgsConstructor
2120
@Slf4j
@@ -45,7 +44,6 @@ private void configureUnauthorizedResponse(HttpServletResponse response) {
4544
private ProblemDetail buildUnauthorizedProblemDetail(JwtException e) {
4645
ProblemDetail problemDetail = ProblemDetail.forStatusAndDetail(HttpStatus.UNAUTHORIZED, e.getMessage());
4746
problemDetail.setTitle("Authentication Error");
48-
problemDetail.setType(URI.create("http://프론트엔드주소/errors/unauthorized"));
4947
problemDetail.setProperty("timestamp", System.currentTimeMillis());
5048
return problemDetail;
5149
}

0 commit comments

Comments
 (0)