From ae73efaabead0e2c8f351981d667465638ca7f4a Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Mon, 6 Sep 2021 13:36:41 +0100 Subject: [PATCH] Fixing an issue in prod where the /builder endpoint wasn't being allowed past without tenancy. --- packages/server/src/api/index.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/server/src/api/index.js b/packages/server/src/api/index.js index c473bf619b..fc86058d08 100644 --- a/packages/server/src/api/index.js +++ b/packages/server/src/api/index.js @@ -15,6 +15,20 @@ const NO_TENANCY_ENDPOINTS = [ route: "/api/analytics", method: "GET", }, + { + route: "/builder", + method: "GET", + }, + // when using this locally there can be pass through, need + // to allow all pass through endpoints to go without tenancy + { + route: "/api/global", + method: "ALL", + }, + { + route: "/api/system", + method: "ALL", + }, ] router