We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9616c98 commit b97af3aCopy full SHA for b97af3a
src/main/java/com/api/rest/v1/controllers/ProductoController.java
@@ -7,6 +7,7 @@
7
import org.springframework.data.domain.Pageable;
8
import org.springframework.http.HttpStatus;
9
import org.springframework.http.ResponseEntity;
10
+import org.springframework.web.bind.annotation.CrossOrigin;
11
import org.springframework.web.bind.annotation.DeleteMapping;
12
import org.springframework.web.bind.annotation.GetMapping;
13
import org.springframework.web.bind.annotation.PathVariable;
@@ -26,6 +27,7 @@
26
27
28
@RestController
29
@RequestMapping("/v1/productos")
30
+@CrossOrigin()
31
public class ProductoController {
32
33
@Autowired
0 commit comments