2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-15 18:13:00 +00:00
RTL/routes/getInfo.js

9 lines
248 B
JavaScript
Raw Normal View History

2018-09-15 01:31:01 +00:00
const infoController = require("../controllers/getInfo");
const express = require("express");
const router = express.Router();
2019-01-01 16:26:51 +00:00
const authCheck = require("./authCheck");
2018-09-15 01:31:01 +00:00
2019-01-01 16:26:51 +00:00
router.get("/", authCheck, infoController.getInfo);
2018-09-15 01:31:01 +00:00
module.exports = router;