mirror of
https://github.com/wisemapping/wisemapping-open-source.git
synced 2025-04-04 19:34:30 +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/**")
|
registry.addMapping("/api/**")
|
||||||
.exposedHeaders("*")
|
.exposedHeaders("*")
|
||||||
.allowedHeaders("*")
|
.allowedHeaders("*")
|
||||||
|
.allowedMethods("*")
|
||||||
.allowedOrigins(corsAllowedOrigins)
|
.allowedOrigins(corsAllowedOrigins)
|
||||||
.maxAge(3600);
|
.maxAge(3600);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user