A simple file sharing site with an easy to use API and online panel.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 line
324B

  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', 'panel.html'));
  7. });
  8. module.exports = router;