mirror of
https://github.com/Foltik/Shimapan
synced 2024-12-11 22:12:18 -05:00
10 lines
313 B
JavaScript
10 lines
313 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', 'home.html'));
|
|
});
|
|
|
|
module.exports = router; |