A simple file sharing site with an easy to use API and online panel.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

10 行
323B

  1. const express = require('express');
  2. const router = express.Router();
  3. const path = require('path');
  4. const authenticate = require('../util/auth/authenticateRequest');
  5. router.get('/', authenticate(), function(req, res) {
  6. res.sendFile(path.join(__dirname, '../../public/views', 'home.html'));
  7. });
  8. module.exports = router;