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 a4c6f44 commit 04005d2
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 04005d2

Please sign in to comment.