Browse Source

Merge pull request #770 in VISUAL/fineui from ~WINDY/fineui:master to master

* commit '1657a26d6a664737b9cc584caca570ec0368b68e':
  无JIRA任务 npm start起不来
es6
windy 6 years ago
parent
commit
69c2baf9ae
  1. 2
      server.js

2
server.js

@ -6,7 +6,7 @@ const fs=require("fs");
const app = express(); const app = express();
const port = 3000; const port = 3000;
app.use(express.static("./dist/")); app.use(express.static("./"));
app.listen(port, function() { app.listen(port, function() {
console.log("server start"); console.log("server start");
open('http://localhost:' + port + '/index.html'); open('http://localhost:' + port + '/index.html');

Loading…
Cancel
Save