crossorigin 우선 추가
This commit is contained in:
parent
ef1a120e2f
commit
963f0b05b8
@ -4,12 +4,14 @@ import com.interplug.qcast.biz.roofmaterial.dto.RoofMaterialResponse;
|
||||
import java.util.List;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
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.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequiredArgsConstructor
|
||||
@CrossOrigin
|
||||
@RequestMapping("/api/roof-material")
|
||||
public class RoofMaterialController {
|
||||
private final RoofMaterialService roofService;
|
||||
|
||||
@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.*;
|
||||
@RestController
|
||||
@RequiredArgsConstructor
|
||||
@RequestMapping("/api/trestle")
|
||||
@CrossOrigin
|
||||
public class TrestleController {
|
||||
private final TrestleService trestleService;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user