From da282fcbc5024e1ddf835273e029ffc51e7ab7a3 Mon Sep 17 00:00:00 2001 From: Puneet Behl Date: Wed, 2 Aug 2023 13:27:00 +0530 Subject: [PATCH] Allow overriding CORS using ENV variable --- grails-forge-web-netty/src/main/resources/application.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-forge-web-netty/src/main/resources/application.yml b/grails-forge-web-netty/src/main/resources/application.yml index 64d2b250..0e1baf32 100644 --- a/grails-forge-web-netty/src/main/resources/application.yml +++ b/grails-forge-web-netty/src/main/resources/application.yml @@ -11,7 +11,7 @@ micronaut: web: allowed-origins: - https://grails.github.io - - https://start.grails.org + - ${CORS_ALLOWED_ORIGIN:https://start.grails.org} allowedMethods: - GET http: