aboutsummaryrefslogtreecommitdiff
path: root/juick-api/src/main/java/com/juick/api/configuration
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-11-27 17:13:27 +0300
committerGravatar Vitaly Takmazov2016-11-27 17:13:27 +0300
commita1dfdabfa7a43b28d827458a0b4c5f6a2a1a9013 (patch)
tree301d1637666efdb05ef6ae390df4ca92f4233039 /juick-api/src/main/java/com/juick/api/configuration
parente741ce2ec74765e49b9c279264afdddf5a1122f6 (diff)
juick-api: red tests for cors and hash authentication
Diffstat (limited to 'juick-api/src/main/java/com/juick/api/configuration')
-rw-r--r--juick-api/src/main/java/com/juick/api/configuration/ApiMvcConfiguration.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-api/src/main/java/com/juick/api/configuration/ApiMvcConfiguration.java b/juick-api/src/main/java/com/juick/api/configuration/ApiMvcConfiguration.java
index 8e0087d7..e3a49c6c 100644
--- a/juick-api/src/main/java/com/juick/api/configuration/ApiMvcConfiguration.java
+++ b/juick-api/src/main/java/com/juick/api/configuration/ApiMvcConfiguration.java
@@ -42,6 +42,7 @@ public class ApiMvcConfiguration extends WebMvcConfigurationSupport {
@Override
protected void addCorsMappings(CorsRegistry registry) {
- registry.addMapping("/**");
+ registry.addMapping("/**")
+ .allowedOrigins("*");
}
}