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 lines
363 B
13 lines
363 B
const express = require("express");
|
|
const path = require("path");
|
|
|
|
const app = express();
|
|
|
|
app.get("/", express.static(path.join(__dirname, "./index.html")));
|
|
|
|
app.use("/dist", express.static(path.join(__dirname, "../dist")));
|
|
app.use(express.static(path.join(__dirname, "./")));
|
|
|
|
app.listen(8030, () => {
|
|
console.log("Listening to http://localhost:8030/");
|
|
});
|