Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ojpbarbosa committed Oct 8, 2023
2 parents 1e85762 + 54fa12d commit 6bcdb47
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 deletions.
5 changes: 0 additions & 5 deletions server/API/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,6 @@
<version>1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>6.0.9</version> <!-- use a versão apropriada -->
</dependency>


</dependencies>
Expand Down
17 changes: 0 additions & 17 deletions server/API/core/src/main/java/org/SciSight/config/CorsConfig.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
@RestController
@RequiredArgsConstructor
@RequestMapping("/search")
@CrossOrigin(origins = "*")
public class SearchController {

private final DataItemService dataItemService;

@CrossOrigin
@PostMapping("/{fieldOfStudy}")
public ResponseEntity<DataItem> get(@PathVariable("fieldOfStudy") final String field,
@RequestBody RequestModel requestModel) {
Expand Down

0 comments on commit 6bcdb47

Please sign in to comment.