aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app.js b/app.js
index 264a0c1..a4d9651 100644
--- a/app.js
+++ b/app.js
@@ -80,6 +80,8 @@ let neoRuntime = require("./src/neoRuntime")(dataDir);
// Setup static assets
app.use(express.static("public/assets"));
+// Serve docs
+app.use("/docs", express.static("docs/_book/"));
// Gave up using webpack to compile monaco, therefore, loading the already-compiled code. Probably the slowest way possible, but so it goes.
app.use("/monaco-editor", express.static("node_modules/monaco-editor/"));
// Setup all our custom middleware