"use strict"; var express = require("express"); var path = require("path"); var app = express(); app.set("port", 8080); app.disable("x-powered-by"); app.use("/style", express.static(path.join(__dirname, "style"))); app.use("/models", express.static(path.join(__dirname, "models"))); app.use("/three", express.static(path.join(__dirname, "node_modules", "three", "build"))); app.use("/loaders", express.static(path.join(__dirname, "node_modules", "three", "examples", "js", "loaders"))); app.use("/", express.static(path.join(__dirname, "public"))); app.listen(app.get("port"), () => console.log("Started..."));