This commit is contained in:
mike12345567 2021-07-22 16:37:50 +01:00
parent 1d6a350311
commit 24012c2fba
3 changed files with 4 additions and 8 deletions

View File

@ -4,4 +4,4 @@ exports.fetch = async ctx => {
ctx.body = {
multiTenancy: !!env.MULTI_TENANCY,
}
}
}

View File

@ -55,10 +55,7 @@ router
// deprecated - used by the default system before tenancy
.get("/api/global/auth/google", authController.googlePreAuth)
.get("/api/global/auth/google/callback", authController.googleAuth)
.get(
"/api/global/auth/oidc/configs/:configId",
authController.oidcPreAuth
)
.get("/api/global/auth/oidc/configs/:configId", authController.oidcPreAuth)
.get("/api/global/auth/oidc/callback", authController.oidcAuth)
module.exports = router

View File

@ -3,7 +3,6 @@ const controller = require("../../controllers/global/flags")
const router = Router()
router
.get("/api/global/flags", controller.fetch)
router.get("/api/global/flags", controller.fetch)
module.exports = router
module.exports = router