Skip to content

Commit

Permalink
try to specify the cross origins and methods see if that work to allo…
Browse files Browse the repository at this point in the history
…w the fetch
  • Loading branch information
Junotas committed Jul 17, 2024
1 parent 7c9bfd0 commit f6cc610
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

@RestController
@RequestMapping("/api/time-reports")
@CrossOrigin
@CrossOrigin(origins = "https://junotas.github.io", methods = {RequestMethod.GET, RequestMethod.POST, RequestMethod.PATCH, RequestMethod.DELETE})
public class TimeReportController {

private final TimeReportService timeReportService;
Expand Down

0 comments on commit f6cc610

Please sign in to comment.