summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudarshan S Chawathe <chaw@eip10.org>2017-09-02 19:18:45 -0400
committerDavid Thompson <dthompson2@worcester.edu>2017-09-03 15:05:05 -0400
commit829ee49c2d5c13e3f8a6fc34bdd39f999efbaffe (patch)
tree70fa2d8be8a8763d37371952474c92648333a837
parent9e4fba766d070a2dd72b7180c1a040d4621218b8 (diff)
Don't ignore a specified non-default port in 'haunt serve'.
Without this patch 'haunt serve' claims to use the specified non-default port, but in fact uses the default 8080 instead.
-rw-r--r--haunt/ui/serve.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/haunt/ui/serve.scm b/haunt/ui/serve.scm
index 53e8c54..e888e88 100644
--- a/haunt/ui/serve.scm
+++ b/haunt/ui/serve.scm
@@ -140,4 +140,4 @@ site."
(string-prefix? (string-append cwd "/" build-dir) dir))))
(site-file-filter site)))))
- (serve doc-root)))
+ (serve doc-root #:open-params `(#:port ,port))))