25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
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. });