cors 제거

This commit is contained in:
hyojun.choi 2024-08-19 14:06:33 +09:00
parent 6323adb3b7
commit b5d7df98ed
3 changed files with 0 additions and 4 deletions

View File

@ -9,7 +9,6 @@ import org.springframework.web.bind.annotation.*;
@RestController @RestController
@RequestMapping("/api/module") @RequestMapping("/api/module")
@RequiredArgsConstructor @RequiredArgsConstructor
@CrossOrigin
public class ModuleController { public class ModuleController {
private final ModuleService moduleService; private final ModuleService moduleService;

View File

@ -4,14 +4,12 @@ import com.interplug.qcast.biz.roofmaterial.dto.RoofMaterialResponse;
import java.util.List; import java.util.List;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@RestController @RestController
@RequiredArgsConstructor @RequiredArgsConstructor
@CrossOrigin
@RequestMapping("/api/roof-material") @RequestMapping("/api/roof-material")
public class RoofMaterialController { public class RoofMaterialController {
private final RoofMaterialService roofService; private final RoofMaterialService roofService;

View File

@ -9,7 +9,6 @@ import org.springframework.web.bind.annotation.*;
@RestController @RestController
@RequiredArgsConstructor @RequiredArgsConstructor
@RequestMapping("/api/trestle") @RequestMapping("/api/trestle")
@CrossOrigin
public class TrestleController { public class TrestleController {
private final TrestleService trestleService; private final TrestleService trestleService;