java.lang.IllegalArgumentException: When allowCredentials is true, allowedOrigins cannot contain the special value "*" since that cannot be set on the "Access-Control-Allow-Origin" response header. To allow credentials to a set of origins, list them explicitly or consider using "allowedOriginPatterns" instead. at org.springframework.web.cors.CorsConfiguration.validateAllowCredentials(CorsConfiguration.java:460) Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: Error has been observed at the following site(s): |_ checkpoint ⇢ org.springframework.cloud.gateway.filter.WeightCalculatorWebFilter [DefaultWebFilterChain][from www.fhadmin.cn]
The reason for the problem is that the new version of gateway cancels allowedorigins and the corresponding change is allowedOriginPatterns
The configuration is modified to:
#--------gateway---fhadmin.cn----- spring.cloud.gateway.discovery.locator.enabled=true spring.cloud.gateway.discovery.locator.lower-case-service-id=true spring.cloud.gateway.globalcors.corsConfigurations.[/**].allowedOriginPatterns=* spring.cloud.gateway.globalcors.corsConfigurations.[/**].allowedHeaders=* spring.cloud.gateway.globalcors.corsConfigurations.[/**].allowedMethods=* spring.cloud.gateway.globalcors.corsConfigurations.[/**].allowCredentials=true
28. Define template: drag form elements on the left to the right area, edit form elements and save form template
29. Form template: edit and maintain form template, copy form template, modify template type and preview form template
30. My form: select form template, edit form rules, Whether to upload pictures, attachments, turn on rich text, attach process switch, etc.
31. Form data: you can add, delete, modify, query form data and modify form rules from my form
32. Attach record: records the form data and process instance ID associated records, which can be deleted