Browse Source
Merge pull request #2555 from Budibase/fix/multi-tenancy-prod
Multi-tenancy production fix
pull/2558/head
Michael Drury
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
14 additions and
0 deletions
-
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 |
|
|
|
|