mirror of
https://github.com/Foltik/Shimapan
synced 2024-12-03 10:59:13 -05:00
10 lines
324 B
JavaScript
10 lines
324 B
JavaScript
const express = require('express');
|
|
const router = express.Router();
|
|
const path = require('path');
|
|
const authenticate = require('../util/auth/authenticateRequest');
|
|
|
|
router.get('/', authenticate(), function(req, res) {
|
|
res.sendFile(path.join(__dirname, '../../public/views', 'panel.html'));
|
|
});
|
|
|
|
module.exports = router; |