mirror of https://github.com/Budibase/budibase.git
4 changed files with 10 additions and 4 deletions
@ -0,0 +1,8 @@ |
|||
const Router = require("@koa/router") |
|||
const authController = require("../controllers/auth") |
|||
|
|||
const router = Router() |
|||
|
|||
router.post("/api/auth/authenticate", authController.authenticate) |
|||
|
|||
module.exports = router |
|||
@ -1,4 +1,5 @@ |
|||
const adminRoutes = require("./admin") |
|||
const authRoutes = require("./auth") |
|||
const appRoutes = require("./app") |
|||
|
|||
exports.routes = [adminRoutes, appRoutes] |
|||
exports.routes = [adminRoutes, authRoutes, appRoutes] |
|||
|
|||
Loading…
Reference in new issue