1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-30 14:31:42 -05:00
shimapan/app/routes/panel.js

10 lines
314 B
JavaScript

const express = require('express');
const router = express.Router();
const path = require('path');
const requireAuth = require('../util/auth').requireAuth;
router.get('/', requireAuth(), function(req, res) {
res.sendFile(path.join(__dirname, '../../public/views', 'panel.html'));
});
module.exports = router;