Skip to content

Commit

Permalink
CrossOrigin for frontend access
Browse files Browse the repository at this point in the history
  • Loading branch information
Junotas committed Jul 16, 2024
1 parent 54b6f39 commit 015bd52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import java.util.List;

@RestController
@CrossOrigin
@RequestMapping("/api/employees")
public class EmployeeController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import java.util.List;

@RestController
@CrossOrigin
@RequestMapping("/api/time-reports")
public class TimeReportController {

Expand Down

0 comments on commit 015bd52

Please sign in to comment.