From 1657a26d6a664737b9cc584caca570ec0368b68e Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 5 Nov 2018 09:30:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20npm=20start?= =?UTF-8?q?=E8=B5=B7=E4=B8=8D=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 6d65e28f25..a9fd0cedeb 100644 --- a/server.js +++ b/server.js @@ -6,7 +6,7 @@ const fs=require("fs"); const app = express(); const port = 3000; -app.use(express.static("./dist/")); +app.use(express.static("./")); app.listen(port, function() { console.log("server start"); open('http://localhost:' + port + '/index.html');