|
|
@ -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'); |
|
|
|