A simple file sharing site with an easy to use API and online panel.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

10 řádky
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;