1
0
Fork 0
mirror of synced 2024-06-02 10:34:40 +12:00
This commit is contained in:
mike12345567 2021-07-22 16:37:50 +01:00
parent 0473c295d3
commit 8bf275ca44
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