aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2018-11-30 11:01:57 +0100
committerJakob Stendahl <jakob.stendahl@outlook.com>2018-11-30 11:01:57 +0100
commit73bedd1d7f50eda6f5ab33134b14d7c69f5e440b (patch)
tree5ba52060e54011fb3a4450ad66f339bf87afd286 /app.js
parenta9151cb4ccf612680b605936395a8c67d5b7e433 (diff)
downloadLuxcena-Neo-73bedd1d7f50eda6f5ab33134b14d7c69f5e440b.tar.gz
Luxcena-Neo-73bedd1d7f50eda6f5ab33134b14d7c69f5e440b.zip
:sparkles: Add docs to app
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