From d62413e57217d321adbd18c1d1ff8ac64bcbe190 Mon Sep 17 00:00:00 2001 From: Martin Lowe Date: Mon, 28 Feb 2022 13:28:13 -0500 Subject: [PATCH] Add working_groups endpoint as an externally visible endpoint --- config/nginx/default.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/nginx/default.conf b/config/nginx/default.conf index 125fe6db..e97dbb37 100644 --- a/config/nginx/default.conf +++ b/config/nginx/default.conf @@ -26,6 +26,15 @@ server { include conf.d/api-proxy.conf; proxy_pass http://localhost:8090; } + location /api/working_groups { + if ($request_method = GET) { + add_header Access-Control-Allow-Origin *; + add_header Access-Control-Expose-Headers Etag,Link,Content-Type; + } + include conf.d/api-proxy.conf; + proxy_pass http://localhost:8090; + + } } location /organization/images { -- GitLab