mirror of
https://github.com/wisemapping/wisemapping-open-source.git
synced 2025-04-04 11:14:29 +08:00
Test cors config.
This commit is contained in:
parent
7f959ce869
commit
a829844c1a
@ -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
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user