cors 제거
This commit is contained in:
parent
6323adb3b7
commit
b5d7df98ed
@ -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;
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user