From 73bedd1d7f50eda6f5ab33134b14d7c69f5e440b Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Fri, 30 Nov 2018 11:01:57 +0100 Subject: :sparkles: Add docs to app --- app.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app.js') 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 -- cgit v1.2.3