Skip to content

Commit

Permalink
Merge b3e4978 into 9985101
Browse files Browse the repository at this point in the history
  • Loading branch information
file13 committed Jul 17, 2019
2 parents 9985101 + b3e4978 commit 8429c51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/control.lisp
Expand Up @@ -14,7 +14,7 @@ error -- This is particularly common in testing. By using this system, we don't
leak ports and prevent 'address in use' errors."))
(in-package :lucerne.ctl)

(defmethod start ((app base-app) &key (port 8000) (server :hunchentoot) debug silent)
(defmethod start ((app base-app) &key (port 8000) (server :hunchentoot) (address "127.0.0.1") debug silent)
"Bring up @cl:param(app), by default on @cl:param(port) 8000. If the server
was not running, it returns @c(T). If the server was running, it restarts it and
returns @c(NIL)."
Expand All @@ -34,6 +34,7 @@ returns @c(NIL)."
clack-app)))
:port port
:server server
:address address
:use-default-middlewares nil
:silent silent))
(sleep 1)
Expand Down

0 comments on commit 8429c51

Please sign in to comment.