diff --git a/sns_service/src/main/kotlin/joryu/sns_service/comment/controller/CommentController.kt b/sns_service/src/main/kotlin/joryu/sns_service/comment/controller/CommentController.kt index f37a23d..1f318f0 100644 --- a/sns_service/src/main/kotlin/joryu/sns_service/comment/controller/CommentController.kt +++ b/sns_service/src/main/kotlin/joryu/sns_service/comment/controller/CommentController.kt @@ -16,7 +16,7 @@ import org.springframework.web.bind.annotation.RestController import java.net.URI @RestController -@RequestMapping("/comments") +@RequestMapping("/api/comments") class CommentController( private val commentService: CommentService ) { diff --git a/sns_service/src/main/kotlin/joryu/sns_service/follow/controller/FollowController.kt b/sns_service/src/main/kotlin/joryu/sns_service/follow/controller/FollowController.kt index bae7c11..18b259e 100644 --- a/sns_service/src/main/kotlin/joryu/sns_service/follow/controller/FollowController.kt +++ b/sns_service/src/main/kotlin/joryu/sns_service/follow/controller/FollowController.kt @@ -8,7 +8,7 @@ import org.springframework.http.ResponseEntity import org.springframework.web.bind.annotation.* @RestController -@RequestMapping("/follow") +@RequestMapping("/api/follow") class FollowController( private val followService: FollowService ) { diff --git a/sns_service/src/main/kotlin/joryu/sns_service/post/controller/PostController.kt b/sns_service/src/main/kotlin/joryu/sns_service/post/controller/PostController.kt index 79920d7..37c1e04 100644 --- a/sns_service/src/main/kotlin/joryu/sns_service/post/controller/PostController.kt +++ b/sns_service/src/main/kotlin/joryu/sns_service/post/controller/PostController.kt @@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.RestController import java.net.URI @RestController -@RequestMapping("/posts") +@RequestMapping("/api/posts") class PostController( private val postService: PostService ) { diff --git a/sns_service/src/main/kotlin/joryu/sns_service/post/controller/PostLikeController.kt b/sns_service/src/main/kotlin/joryu/sns_service/post/controller/PostLikeController.kt index d534227..279dc39 100644 --- a/sns_service/src/main/kotlin/joryu/sns_service/post/controller/PostLikeController.kt +++ b/sns_service/src/main/kotlin/joryu/sns_service/post/controller/PostLikeController.kt @@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RestController @RestController -@RequestMapping("/like") +@RequestMapping("/api/like") class PostLikeController( private val postLikeService: PostLikeService ) { diff --git a/sns_service/src/main/kotlin/joryu/sns_service/post/controller/ShareController.kt b/sns_service/src/main/kotlin/joryu/sns_service/post/controller/ShareController.kt index e84115a..c6f5021 100644 --- a/sns_service/src/main/kotlin/joryu/sns_service/post/controller/ShareController.kt +++ b/sns_service/src/main/kotlin/joryu/sns_service/post/controller/ShareController.kt @@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RestController @RestController -@RequestMapping("/share") +@RequestMapping("/api/share") class ShareController( private val shareService: ShareService ) { diff --git a/sns_service/src/main/kotlin/joryu/sns_service/profile/controller/ProfileApiController.kt b/sns_service/src/main/kotlin/joryu/sns_service/profile/controller/ProfileApiController.kt index d663cf4..d0c2754 100644 --- a/sns_service/src/main/kotlin/joryu/sns_service/profile/controller/ProfileApiController.kt +++ b/sns_service/src/main/kotlin/joryu/sns_service/profile/controller/ProfileApiController.kt @@ -12,7 +12,7 @@ import org.springframework.http.ResponseEntity import org.springframework.web.bind.annotation.* @RestController -@RequestMapping("/profile") +@RequestMapping("/api/profile") class ProfileApiController( private val profileService: ProfileService, ) {