diff --git a/src/main/java/aromanticcat/umcproject/web/controller/AuthController.java b/src/main/java/aromanticcat/umcproject/web/controller/AuthController.java index 30f95f9..f98e698 100644 --- a/src/main/java/aromanticcat/umcproject/web/controller/AuthController.java +++ b/src/main/java/aromanticcat/umcproject/web/controller/AuthController.java @@ -19,7 +19,6 @@ import java.util.Optional; -@CrossOrigin(origins = "https://dev.nangmancat.shop") @Slf4j @RestController @RequiredArgsConstructor diff --git a/src/main/java/aromanticcat/umcproject/web/controller/FriendController.java b/src/main/java/aromanticcat/umcproject/web/controller/FriendController.java index 6c40173..85c7cd4 100644 --- a/src/main/java/aromanticcat/umcproject/web/controller/FriendController.java +++ b/src/main/java/aromanticcat/umcproject/web/controller/FriendController.java @@ -18,7 +18,6 @@ import java.util.List; import java.util.stream.Collectors; -@CrossOrigin(origins = "https://dev.nangmancat.shop") @RestController @RequestMapping("/address-book") @RequiredArgsConstructor diff --git a/src/main/java/aromanticcat/umcproject/web/controller/LetterController.java b/src/main/java/aromanticcat/umcproject/web/controller/LetterController.java index 38bac7e..cf52954 100644 --- a/src/main/java/aromanticcat/umcproject/web/controller/LetterController.java +++ b/src/main/java/aromanticcat/umcproject/web/controller/LetterController.java @@ -9,7 +9,6 @@ import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.*; -@CrossOrigin(origins = "https://dev.nangmancat.shop") @RestController @RequiredArgsConstructor @RequestMapping("/letters") diff --git a/src/main/java/aromanticcat/umcproject/web/controller/LetterboxController.java b/src/main/java/aromanticcat/umcproject/web/controller/LetterboxController.java index e7a9260..1b56750 100644 --- a/src/main/java/aromanticcat/umcproject/web/controller/LetterboxController.java +++ b/src/main/java/aromanticcat/umcproject/web/controller/LetterboxController.java @@ -12,7 +12,6 @@ import java.util.List; -@CrossOrigin(origins = "https://dev.nangmancat.shop") @RestController @RequiredArgsConstructor @RequestMapping("/letterboxes") diff --git a/src/main/java/aromanticcat/umcproject/web/controller/MemberController.java b/src/main/java/aromanticcat/umcproject/web/controller/MemberController.java index 6886c6c..4cea14e 100644 --- a/src/main/java/aromanticcat/umcproject/web/controller/MemberController.java +++ b/src/main/java/aromanticcat/umcproject/web/controller/MemberController.java @@ -10,7 +10,6 @@ import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.*; -@CrossOrigin(origins = "https://dev.nangmancat.shop") @RestController @RequiredArgsConstructor public class MemberController { diff --git a/src/main/java/aromanticcat/umcproject/web/controller/MissionController.java b/src/main/java/aromanticcat/umcproject/web/controller/MissionController.java index fb12181..241b11f 100644 --- a/src/main/java/aromanticcat/umcproject/web/controller/MissionController.java +++ b/src/main/java/aromanticcat/umcproject/web/controller/MissionController.java @@ -12,7 +12,6 @@ import java.util.List; -@CrossOrigin(origins = "https://dev.nangmancat.shop") @RestController @RequestMapping("/missions") @RequiredArgsConstructor diff --git a/src/main/java/aromanticcat/umcproject/web/controller/MyCollectionController.java b/src/main/java/aromanticcat/umcproject/web/controller/MyCollectionController.java index 25dabbf..c7698cc 100644 --- a/src/main/java/aromanticcat/umcproject/web/controller/MyCollectionController.java +++ b/src/main/java/aromanticcat/umcproject/web/controller/MyCollectionController.java @@ -11,7 +11,6 @@ import java.util.List; -@CrossOrigin(origins = "https://dev.nangmancat.shop") @RestController @RequestMapping("/my-collection") @RequiredArgsConstructor diff --git a/src/main/java/aromanticcat/umcproject/web/controller/MyDesignController.java b/src/main/java/aromanticcat/umcproject/web/controller/MyDesignController.java index 0168f8f..1cd25fb 100644 --- a/src/main/java/aromanticcat/umcproject/web/controller/MyDesignController.java +++ b/src/main/java/aromanticcat/umcproject/web/controller/MyDesignController.java @@ -13,7 +13,6 @@ import java.io.IOException; import java.util.List; -@CrossOrigin(origins = "https://dev.nangmancat.shop") @RestController @RequiredArgsConstructor @RequestMapping("/myDesign") diff --git a/src/main/java/aromanticcat/umcproject/web/controller/NangmanCollectionController.java b/src/main/java/aromanticcat/umcproject/web/controller/NangmanCollectionController.java index 1434cb8..18b412c 100644 --- a/src/main/java/aromanticcat/umcproject/web/controller/NangmanCollectionController.java +++ b/src/main/java/aromanticcat/umcproject/web/controller/NangmanCollectionController.java @@ -12,7 +12,6 @@ import java.util.List; -@CrossOrigin(origins = "https://dev.nangmancat.shop") @RestController @RequestMapping("/nangman-collection") @RequiredArgsConstructor diff --git a/src/main/java/aromanticcat/umcproject/web/controller/NangmanLetterboxController.java b/src/main/java/aromanticcat/umcproject/web/controller/NangmanLetterboxController.java index dc5076e..9d1c31f 100644 --- a/src/main/java/aromanticcat/umcproject/web/controller/NangmanLetterboxController.java +++ b/src/main/java/aromanticcat/umcproject/web/controller/NangmanLetterboxController.java @@ -16,7 +16,6 @@ import java.util.List; import java.util.stream.Collectors; -@CrossOrigin(origins = "https://dev.nangmancat.shop") @RestController @RequestMapping("/nangman-letterbox") @RequiredArgsConstructor diff --git a/src/main/java/aromanticcat/umcproject/web/controller/RootController.java b/src/main/java/aromanticcat/umcproject/web/controller/RootController.java index 875eca2..32196c5 100644 --- a/src/main/java/aromanticcat/umcproject/web/controller/RootController.java +++ b/src/main/java/aromanticcat/umcproject/web/controller/RootController.java @@ -4,7 +4,6 @@ import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; -@CrossOrigin(origins = "https://dev.nangmancat.shop") @RestController public class RootController { diff --git a/src/main/java/aromanticcat/umcproject/web/controller/SlowLetterController.java b/src/main/java/aromanticcat/umcproject/web/controller/SlowLetterController.java index 9f06aa9..3773d43 100644 --- a/src/main/java/aromanticcat/umcproject/web/controller/SlowLetterController.java +++ b/src/main/java/aromanticcat/umcproject/web/controller/SlowLetterController.java @@ -14,7 +14,6 @@ import java.util.List; -@CrossOrigin(origins = "https://dev.nangmancat.shop") @RestController @RequiredArgsConstructor @RequestMapping("/slow_letters") diff --git a/src/main/java/aromanticcat/umcproject/web/controller/StoreController.java b/src/main/java/aromanticcat/umcproject/web/controller/StoreController.java index 49129f4..d0568cd 100644 --- a/src/main/java/aromanticcat/umcproject/web/controller/StoreController.java +++ b/src/main/java/aromanticcat/umcproject/web/controller/StoreController.java @@ -11,7 +11,6 @@ import java.util.List; -@CrossOrigin(origins = "https://dev.nangmancat.shop") @RestController @RequestMapping("/store") @RequiredArgsConstructor