From 50f2cf44fa397904928a882f735b3bf15d337020 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Wed, 6 Jul 2022 23:40:10 +0200 Subject: [PATCH] add cors authorized --- src/main/resources/application.properties | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index fd57f68..e494ca8 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -23,5 +23,9 @@ quarkus.mailer.password=aohrpmqvxldwyebs quarkus.mailer.mock=false - quarkus.redis.hosts=redis://redis:6379 + +quarkus.http.cors=true +quarkus.http.origins=http://localhost:8084 +quarkus.http.cors.methods=GET,PUT,POST +quarkus.http.cors.headers=accept,authorization,content-type,x-requested-with,x-foobar \ No newline at end of file