This is an automated email from the ASF dual-hosted git repository.
tiagobento pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new d6814514481 kie-tools-issues#2582: [serverless-logic-web-tools] CORS
on Dev Mode deployment on OpenShift (#2856)
d6814514481 is described below
commit d68145144819bb01939df2fe1d18462eeac4d2ee
Author: Fabrizio Antonangeli <[email protected]>
AuthorDate: Wed Jan 15 15:18:49 2025 +0100
kie-tools-issues#2582: [serverless-logic-web-tools] CORS on Dev Mode
deployment on OpenShift (#2856)
---
.../src/main/resources/application.properties | 1 +
.../src/main/resources/application.properties | 4 ++++
2 files changed, 5 insertions(+)
diff --git
a/packages/serverless-logic-web-tools-swf-deployment-quarkus-app/src/main/resources/application.properties
b/packages/serverless-logic-web-tools-swf-deployment-quarkus-app/src/main/resources/application.properties
index 0f6898b1b35..0660b72f6ac 100644
---
a/packages/serverless-logic-web-tools-swf-deployment-quarkus-app/src/main/resources/application.properties
+++
b/packages/serverless-logic-web-tools-swf-deployment-quarkus-app/src/main/resources/application.properties
@@ -20,6 +20,7 @@
quarkus.swagger-ui.always-include=true
quarkus.http.cors=true
quarkus.http.cors.origins=*
+quarkus.dev-ui.cors.enabled=false
quarkus.http.host=0.0.0.0
quarkus.http.enable-compression=true
quarkus.http.port=8080
diff --git
a/packages/sonataflow-quarkus-devui/sonataflow-quarkus-devui/src/main/resources/application.properties
b/packages/sonataflow-quarkus-devui/sonataflow-quarkus-devui/src/main/resources/application.properties
index fe95886d5c1..2a501c1c0ae 100644
---
a/packages/sonataflow-quarkus-devui/sonataflow-quarkus-devui/src/main/resources/application.properties
+++
b/packages/sonataflow-quarkus-devui/sonataflow-quarkus-devui/src/main/resources/application.properties
@@ -16,3 +16,7 @@
# specific language governing permissions and limitations
# under the License.
#
+
+quarkus.http.cors=true
+quarkus.http.cors.origins=*
+quarkus.dev-ui.cors.enabled=false
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]