This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kameleon.git
The following commit(s) were added to refs/heads/main by this push:
new 16a1728 Add cors
16a1728 is described below
commit 16a172808c7d1ce4ef3ff0fc97b67381f94cac66
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Wed Nov 16 15:33:53 2022 -0500
Add cors
---
src/main/resources/application.properties | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/main/resources/application.properties
b/src/main/resources/application.properties
index fc234e0..4548ccc 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -27,3 +27,6 @@ quarkus.cache.caffeine."components".initial-capacity=100
quarkus.cache.caffeine."components".maximum-size=100
application.version=${project.version}
+
+quarkus.http.cors=true
+quarkus.http.cors.origins=http://localhost:3000,http://karavan.space,https://karavan.space
\ No newline at end of file