aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/reference.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/reference.conf')
-rw-r--r--src/main/resources/reference.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/resources/reference.conf b/src/main/resources/reference.conf
index 16dcfda..aed7b12 100644
--- a/src/main/resources/reference.conf
+++ b/src/main/resources/reference.conf
@@ -10,6 +10,20 @@
application {
baseUrl: "localhost:8080"
environment: "local_testing"
+
+ cors {
+ allowedMethods: ["GET", "PUT", "POST", "PATCH", "DELETE", "OPTIONS"]
+ allowedOrigins: [
+ {
+ scheme: http
+ hostSuffix: localhost
+ },
+ {
+ scheme: https
+ hostSuffix: example.com
+ }
+ ]
+ }
}
# Settings about the auto-generated REST API documentation.