diff options
author | Artyom Shalkhakov <artyom.shalkhakov@gmail.com> | 2019-01-12 16:20:14 +0200 |
---|---|---|
committer | Artyom Shalkhakov <artyom.shalkhakov@gmail.com> | 2019-01-12 16:20:14 +0200 |
commit | ba1871b3b9cc669c43420f993719690b45326e2f (patch) | |
tree | db204c53b57326b23014674b90f7ac21d80a3430 /src/demo.sml | |
parent | db68fd7f8dd17fda410ea06e7076e11ee2c57afc (diff) |
Including app.js in output of endpoints
Diffstat (limited to 'src/demo.sml')
-rw-r--r-- | src/demo.sml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/demo.sml b/src/demo.sml index eaec38bb..ef57e65b 100644 --- a/src/demo.sml +++ b/src/demo.sml @@ -98,6 +98,10 @@ fun make' {prefix, dirname, guided} = NONE => OS.Path.joinDirFile {dir = dirname, file = "demo.sql"} | SOME s => s), + endpoints = SOME (case Settings.getEndpoints () of + NONE => OS.Path.joinDirFile {dir = dirname, + file = "demo-endpoints.json"} + | SOME e => e), debug = Settings.getDebug (), timeout = Int.max (#timeout combined, #timeout urp), profile = false, |