diff options
Diffstat (limited to 'src/main/resources/reference.conf')
-rw-r--r-- | src/main/resources/reference.conf | 31 |
1 files changed, 6 insertions, 25 deletions
diff --git a/src/main/resources/reference.conf b/src/main/resources/reference.conf index 795dbb4..608262a 100644 --- a/src/main/resources/reference.conf +++ b/src/main/resources/reference.conf @@ -11,31 +11,12 @@ application { baseUrl: "localhost:8080" environment: "local_testing" - cors { - allowedMethods: ["GET", "PUT", "POST", "PATCH", "DELETE", "OPTIONS"] - allowedOrigins: [ - { - scheme: http - hostSuffix: localhost - }, - { - scheme: https - hostSuffix: driver.xyz - }, - { - scheme: http - hostSuffix: dev.cndriver.xyz - }, - { - scheme: https - hostSuffix: driver.network - }, - { - scheme: https - hostSuffix: cndriver.xyz - } - ] - } + cors.allowedOrigins: [ + "localhost", + "driver.xyz", + "driver.network", + "cndriver.xyz" + ] } # Settings about the auto-generated REST API documentation. |