diff --git a/wabi/src/main/kotlin/com/wap/wabi/common/config/WebConfig.kt b/wabi/src/main/kotlin/com/wap/wabi/common/config/WebConfig.kt index a1a5313..bd68f5b 100644 --- a/wabi/src/main/kotlin/com/wap/wabi/common/config/WebConfig.kt +++ b/wabi/src/main/kotlin/com/wap/wabi/common/config/WebConfig.kt @@ -12,7 +12,7 @@ class WebConfig(private val requestLoggingInterceptor: RequestLoggingInterceptor registry.addMapping("/**") .allowedOrigins( "https://zepelown.site", - "https://master--wabicheck.netlify.app/", + "https://master--wabicheck.netlify.app", "http://localhost:3000", "http://localhost:8080" ) diff --git a/wabi/src/main/kotlin/com/wap/wabi/exception/ErrorCode.kt b/wabi/src/main/kotlin/com/wap/wabi/exception/ErrorCode.kt index 1ae478c..cde3bae 100644 --- a/wabi/src/main/kotlin/com/wap/wabi/exception/ErrorCode.kt +++ b/wabi/src/main/kotlin/com/wap/wabi/exception/ErrorCode.kt @@ -46,4 +46,5 @@ enum class ErrorCode( BAD_REQUEST_EXIST_ADMIN(HttpStatus.BAD_REQUEST, "800-4", "이미 존재하는 어드민입니다."), BAD_REQUEST_NOT_EXIST_ADMIN(HttpStatus.BAD_REQUEST, "800-5", "존재하지 않는 어드민입니다."), BAD_REQUEST_ADMIN_LOGIN(HttpStatus.BAD_REQUEST, "800-6", "일치하는 계정이 없습니다."), + BAD_REQUEST_REFRESH_TOKEN(HttpStatus.BAD_REQUEST, "800-7", "리프레시 토큰이 만료되었습니다."), }