A simple file sharing site with an easy to use API and online panel.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
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;