Early work on Mapp, will move to Github or Gitlab if something becomes of it.
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.

12 lines
363 B

6 years ago
  1. const express = require("express");
  2. const path = require("path");
  3. const app = express();
  4. app.get("/", express.static(path.join(__dirname, "./index.html")));
  5. app.use("/dist", express.static(path.join(__dirname, "../dist")));
  6. app.use(express.static(path.join(__dirname, "./")));
  7. app.listen(8030, () => {
  8. console.log("Listening to http://localhost:8030/");
  9. });