Skip to content

Commit

Permalink
CORS request fails in case of allowedOrigins set to all #145
Browse files Browse the repository at this point in the history
  • Loading branch information
gorbunkov committed Nov 30, 2022
1 parent 146743b commit f2ee0e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
</bean>

<bean id="cuba_RestCorsConfig" class="org.springframework.web.cors.CorsConfiguration">
<property name="allowedOrigins" value="${cuba.rest.allowedOrigins}"/>
<property name="allowedOriginPatterns" value="${cuba.rest.allowedOrigins}"/>
<property name="allowedHeaders" value="*"/>
<property name="allowedMethods" value="*"/>
<property name="allowCredentials" value="true"/>
Expand Down

0 comments on commit f2ee0e4

Please sign in to comment.