From 98fbe785613fa724069de1fef88fa0aa2e1e965c Mon Sep 17 00:00:00 2001 From: chrisala Date: Fri, 2 Feb 2024 11:04:03 +1100 Subject: [PATCH] Exclude IP address check from qraphqlWs endpoint #907 --- .../controllers/au/org/ala/ecodata/ApiKeyInterceptor.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/controllers/au/org/ala/ecodata/ApiKeyInterceptor.groovy b/grails-app/controllers/au/org/ala/ecodata/ApiKeyInterceptor.groovy index 3b9e8763a..9d18bd90a 100644 --- a/grails-app/controllers/au/org/ala/ecodata/ApiKeyInterceptor.groovy +++ b/grails-app/controllers/au/org/ala/ecodata/ApiKeyInterceptor.groovy @@ -21,7 +21,7 @@ class ApiKeyInterceptor { public ApiKeyInterceptor() { // These controllers use JWT authorization instead - matchAll().excludes(controller: 'graphql').excludes(controller: 'paratoo').excludes(controller: 'harvest').excludes('graphqlWs') + matchAll().excludes(controller: 'graphql').excludes(controller: 'paratoo').excludes(controller: 'harvest').excludes(controller:'graphqlWs') } boolean before() {