diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2018-11-30 11:01:57 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2018-11-30 11:01:57 +0100 |
commit | 73bedd1d7f50eda6f5ab33134b14d7c69f5e440b (patch) | |
tree | 5ba52060e54011fb3a4450ad66f339bf87afd286 /app.js | |
parent | a9151cb4ccf612680b605936395a8c67d5b7e433 (diff) | |
download | Luxcena-Neo-73bedd1d7f50eda6f5ab33134b14d7c69f5e440b.tar.gz Luxcena-Neo-73bedd1d7f50eda6f5ab33134b14d7c69f5e440b.zip |
:sparkles: Add docs to app
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |