aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <cbeok@protonmail.com>2020-05-07 16:57:01 -0500
committerColin Okay <cbeok@protonmail.com>2020-05-07 16:57:01 -0500
commit22dd2e7c2614092287f05305a0d9367751ba85f3 (patch)
tree49caef3f71fd2ff0c94f8679be77c772468ba81e
parentc0fcd06e00c2f4d841040e5de737b2d9e5d5c681 (diff)
added port to start
-rw-r--r--lazybones.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lazybones.lisp b/lazybones.lisp
index 8f3cc0c..318ae95 100644
--- a/lazybones.lisp
+++ b/lazybones.lisp
@@ -271,8 +271,8 @@ for the request's path."
-(defun start ()
- (setf *handler* (clack:clackup #'main-handler)))
+(defun start (&key (port 5000))
+ (setf *handler* (clack:clackup #'main-handler :port port)))
(defun stop ()
(clack:stop *handler*))