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.
 
 
 
 
 
 

13 rivejä
293 B

  1. var express = require('express');
  2. var app = express();
  3. app.use('/dist', express.static(__dirname + '/dist'));
  4. app.get('*', function (req, res) {
  5. res.sendFile(__dirname + '/index.html');
  6. });
  7. app.listen(8080, function () {
  8. console.log('LessPass frontend listening on port 8080');
  9. });