From 5b3e3b705321b59a394180adc62c59d380fe03d3 Mon Sep 17 00:00:00 2001 From: Mil Date: Thu, 10 Mar 2022 18:46:48 +0000 Subject: [PATCH] Listen on WireGuard interface --- webshit.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webshit.lisp b/webshit.lisp index a50d39c..058e69f 100644 --- a/webshit.lisp +++ b/webshit.lisp @@ -205,7 +205,8 @@ (let ((thread nil)) (defun run-server () (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 () (progn thread (destroy-thread thread) (setf thread nil))) (defun restart-server ()