Skip to content

Commit

Permalink
update crossorigin
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegRyazancev committed Mar 5, 2024
1 parent ae62e7a commit 9625b14
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
@RequiredArgsConstructor
@PreAuthorize("hasRole('ADMIN')")
@Tag(name = "Admin Controller", description = "Admin API")
@CrossOrigin
@CrossOrigin(origins = "*")
public class AdminController {

private final ZoneService zoneService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@RequiredArgsConstructor
@Validated
@Tag(name = "Auth Controller", description = "Auth API")
@CrossOrigin
@CrossOrigin(origins = "*")
public class AuthController {

private final AuthService authService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
@RequiredArgsConstructor
@Validated
@Tag(name = "Car Controller", description = "Car API")
@CrossOrigin
@CrossOrigin(origins = "*")
public class CarController {

private final CarService carService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@RequiredArgsConstructor
@Validated
@Tag(name = "Reservation Controller", description = "Reservation API")
@CrossOrigin
@CrossOrigin(origins = "*")
public class ReservationController {


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
@RequiredArgsConstructor
@Validated
@Tag(name = "User Controller", description = "User API")
@CrossOrigin
@CrossOrigin(origins = "*")
public class UserController {

private final UserService userService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@RequiredArgsConstructor
@Validated
@Tag(name = "Zone Controller", description = "Zone API")
@CrossOrigin
@CrossOrigin(origins = "*")
public class ZoneController {

private final ZoneService zoneService;
Expand Down

0 comments on commit 9625b14

Please sign in to comment.