mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
more options for startup
This commit is contained in:
parent
8f163a37c7
commit
2a24c972d2
3 changed files with 12 additions and 8 deletions
|
|
@ -175,7 +175,7 @@
|
|||
(display-splash body)
|
||||
(start-game body))
|
||||
|
||||
(defun start-demo ()
|
||||
(defun start-demo (&key (host "0.0.0.0") (port 8080))
|
||||
"Start demo."
|
||||
(initialize 'on-new-window)
|
||||
(open-browser))
|
||||
(initialize 'on-new-window :host host :port port)
|
||||
(open-browser :url (format nil "http://127.0.0.1:~A" port)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue