diff --git a/build.gradle b/build.gradle index 1b7711f..f8fefc2 100644 --- a/build.gradle +++ b/build.gradle @@ -49,8 +49,6 @@ dependencies { implementation 'io.jsonwebtoken:jjwt-api:0.12.6' implementation 'org.springframework.boot:spring-boot-starter-data-redis' testImplementation 'org.springframework.security:spring-security-test' - compileOnly 'org.projectlombok:lombok' - annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' runtimeOnly 'org.postgresql:postgresql' runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.6' diff --git a/src/main/java/dev/surl/surl/controller/SurlGetController.kt b/src/main/java/dev/surl/surl/controller/SurlGetController.kt index 38b152c..7a349d6 100644 --- a/src/main/java/dev/surl/surl/controller/SurlGetController.kt +++ b/src/main/java/dev/surl/surl/controller/SurlGetController.kt @@ -1,6 +1,5 @@ package dev.surl.surl.controller -import dev.surl.surl.cfg.logger import dev.surl.surl.common.Msg import dev.surl.surl.service.SurlService import dev.surl.surl.util.JwtTokenUtil @@ -16,9 +15,7 @@ class SurlGetController( ) { @GetMapping(path = ["/api/surl/get"]) fun getUrlsByUser(@RequestHeader headers: HttpHeaders): Msg> { - logger().logger().info("headers: $headers") val token = jwtTokenUtil.getTokenFromHeader(headers[HttpHeaders.AUTHORIZATION]?.last() ?: "") - logger().logger().info("token: $token") val username = jwtTokenUtil.getUsernameFromToken(token) val urls = surlService.getUrlsByUser(username) return Msg(value = urls) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index c1fe6d1..1477715 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -41,7 +41,7 @@ spring: logging: level: root: info - Exposed: info + Exposed: debug base: configs: site: http://127.0.0.1:18888