Listen on WireGuard interface

master
Mil 3 years ago committed by 4903000
parent d0d4ac64a4
commit 5b3e3b7053

@ -205,7 +205,8 @@
(let ((thread nil)) (let ((thread nil))
(defun run-server () (defun run-server ()
(if (or (null thread) (not (thread-alive-p thread))) (if (or (null thread) (not (thread-alive-p thread)))
(setf thread (make-thread (lambda () (run #'app)) :name "woo-server-thread")))) (setf thread (make-thread (lambda () (run #'app :address "0.0.0.0"))
:name "woo-server-thread"))))
(defun stop-server () (defun stop-server ()
(progn thread (destroy-thread thread) (setf thread nil))) (progn thread (destroy-thread thread) (setf thread nil)))
(defun restart-server () (defun restart-server ()

Loading…
Cancel
Save