From 9d10535c4e2baf6f2c81bc27eb74eb4176b16fcc Mon Sep 17 00:00:00 2001
From: Martin Lowe <martin.lowe@eclipse-foundation.org>
Date: Wed, 2 Dec 2020 13:27:37 -0500
Subject: [PATCH] ADd CORS properties back in, add dev http port to fix
 collisions

Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>
---
 src/main/resources/application.properties | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 0f4157e..b3fbe17 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -5,9 +5,11 @@ quarkus.http.port=8080
 quarkus.http.root-path=/adopters
 
 ## CORS settings
-quarkus.http.cors=false
+quarkus.http.cors=true
+quarkus.http.cors.exposed-headers=Etag,Link,Content-Type
 
 ## Adopters raw location
 eclipse.adopters.path.json=/config/adopters.json
 %dev.eclipse.adopters.path.json=/tmp/config/adopters.json
-%dev.eclipse.pagination.scheme.enforce=false
\ No newline at end of file
+%dev.eclipse.pagination.scheme.enforce=false
+%dev.quarkus.http.port=8090
\ No newline at end of file
-- 
GitLab