budibase/packages/server/api/routes/auth.js

9 lines
204 B
JavaScript

const Router = require("@koa/router");
const controller = require("../controllers/auth");
const router = Router();
router
.post("/api/authenticate", controller.authenticate);
module.exports = router;