Merge pull request #2555 from Budibase/fix/multi-tenancy-prod

Multi-tenancy production fix
This commit is contained in:
Michael Drury 2021-09-06 14:05:57 +01:00 committed by GitHub
commit 5e7f9a070a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -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