Test cors config.

This commit is contained in:
Paulo Gustavo Veiga 2024-02-17 18:07:58 -08:00
parent 7f959ce869
commit a829844c1a
2 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ import java.util.List;
@RestController
@RequestMapping("/api/restful/account")
@PreAuthorize("isAuthenticated() and hasRole('ROLE_USER')")
@CrossOrigin
public class AccountController extends BaseController {
@Qualifier("userService")
@Autowired

View File

@ -48,6 +48,7 @@ import java.util.stream.Collectors;
@RestController
@RequestMapping("/api/restful/maps")
@CrossOrigin
public class MindmapController extends BaseController {
private final Logger logger = LogManager.getLogger();