Skip to content

Commit

Permalink
Merge pull request #37 from k-twitter/feature/36
Browse files Browse the repository at this point in the history
  • Loading branch information
jojaeng2 authored Jan 1, 2024
2 parents 4fc48a8 + c77bd71 commit a2fbf96
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
) {
Expand Down

0 comments on commit a2fbf96

Please sign in to comment.