mirror of
https://github.com/wisemapping/wisemapping-open-source.git
synced 2025-04-04 11:14:29 +08:00
Add missing corse.
This commit is contained in:
parent
e409abb265
commit
b9bd733e5e
@ -19,6 +19,7 @@ public class WebConfig implements WebMvcConfigurer {
|
||||
registry.addMapping("/api/**")
|
||||
.exposedHeaders("*")
|
||||
.allowedHeaders("*")
|
||||
.allowedMethods("*")
|
||||
.allowedOrigins(corsAllowedOrigins)
|
||||
.maxAge(3600);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user