@@ -91,6 +91,7 @@ SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
91
91
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , CONFIG_URL ), // system config
92
92
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , SERVER_SETTING_URL ), // system env
93
93
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , CONFIG_URL + "/deploymentId" ), // system config
94
+ ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , APPLICATION_URL + "/*" ), // application view
94
95
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , APPLICATION_URL + "/*/view" ), // application view
95
96
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , APPLICATION_URL + "/*/view_marketplace" ), // application view
96
97
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , APPLICATION_URL + "/marketplace-apps" ), // marketplace apps
@@ -121,6 +122,7 @@ SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
121
122
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , NewUrl .CONFIG_URL + "/deploymentId" ),
122
123
ServerWebExchangeMatchers .pathMatchers (HttpMethod .HEAD , NewUrl .STATE_URL + "/healthCheck" ),
123
124
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , NewUrl .PREFIX + "/status/**" ),
125
+ ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , NewUrl .APPLICATION_URL + "/*" ),
124
126
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , NewUrl .APPLICATION_URL + "/*/view" ),
125
127
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , NewUrl .APPLICATION_URL + "/*/view_marketplace" ),
126
128
ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , NewUrl .APPLICATION_URL + "/marketplace-apps" ), // marketplace apps
@@ -172,6 +174,7 @@ private CorsConfigurationSource buildCorsConfigurationSource() {
172
174
source .registerCorsConfiguration (CONFIG_URL , skipCheckCorsForAll );
173
175
source .registerCorsConfiguration (GROUP_URL + "/list" , skipCheckCorsForAll );
174
176
source .registerCorsConfiguration (QUERY_URL + "/execute" , skipCheckCorsForAll );
177
+ source .registerCorsConfiguration (APPLICATION_URL + "/*" , skipCheckCorsForAll );
175
178
source .registerCorsConfiguration (APPLICATION_URL + "/*/view" , skipCheckCorsForAll );
176
179
source .registerCorsConfiguration (APPLICATION_URL + "/*/view_marketplace" , skipCheckCorsForAll );
177
180
source .registerCorsConfiguration (APPLICATION_URL + "/marketplace-apps" , skipCheckCorsForAll );
@@ -183,6 +186,7 @@ private CorsConfigurationSource buildCorsConfigurationSource() {
183
186
source .registerCorsConfiguration (NewUrl .CONFIG_URL , skipCheckCorsForAll );
184
187
source .registerCorsConfiguration (NewUrl .GROUP_URL + "/list" , skipCheckCorsForAll );
185
188
source .registerCorsConfiguration (NewUrl .QUERY_URL + "/execute" , skipCheckCorsForAll );
189
+ source .registerCorsConfiguration (NewUrl .APPLICATION_URL + "/*" , skipCheckCorsForAll );
186
190
source .registerCorsConfiguration (NewUrl .APPLICATION_URL + "/*/view" , skipCheckCorsForAll );
187
191
source .registerCorsConfiguration (NewUrl .APPLICATION_URL + "/*/view_marketplace" , skipCheckCorsForAll );
188
192
source .registerCorsConfiguration (NewUrl .APPLICATION_URL + "/marketplace-apps" , skipCheckCorsForAll );
0 commit comments