diff --git a/src/main/java/com/softeer/backend/fo_domain/share/controller/ShareController.java b/src/main/java/com/softeer/backend/fo_domain/share/controller/ShareController.java index fc40c55f..88b27ec9 100644 --- a/src/main/java/com/softeer/backend/fo_domain/share/controller/ShareController.java +++ b/src/main/java/com/softeer/backend/fo_domain/share/controller/ShareController.java @@ -25,7 +25,7 @@ public ResponseDto getShortenShareUrl(@Parameter(hidden return ResponseDto.onSuccess(shareUrlInfoService.getShortenShareUrl(userId)); } - @GetMapping("/{shareUrl}") + @GetMapping("/share/{shareUrl}") public ResponseEntity redirectWithShareUrl(@PathVariable String shareUrl, HttpServletRequest request) { // session을 이용해 공유 url 저장 HttpSession session = request.getSession(); diff --git a/src/main/java/com/softeer/backend/global/staticresources/constant/StaticText.java b/src/main/java/com/softeer/backend/global/staticresources/constant/StaticText.java index cbbec488..2838b0fc 100644 --- a/src/main/java/com/softeer/backend/global/staticresources/constant/StaticText.java +++ b/src/main/java/com/softeer/backend/global/staticresources/constant/StaticText.java @@ -97,7 +97,7 @@ public enum StaticText { "이벤트 당첨 이후 개인정보 제공을 거부하거나 개별 안내를 거부하는 경우, 당첨이 취소될 수 있습니다."), // 공유 url - BASE_URL("https://softeer.site/"), + BASE_URL("https://softeer.site/share/"), NON_USER_SHARE_URL("https://softeer.site"), // 선착순