From d340c58bab2f2b470da9e423bdcc3f20b99ee071 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 25 Nov 2024 19:32:44 +0100 Subject: add Caddyfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'makefile') diff --git a/makefile b/makefile index 356b8e5..626706a 100644 --- a/makefile +++ b/makefile @@ -31,6 +31,9 @@ run: $(gen_BIN) $(SRC) watch: @ find . -print | entr -nc -dd -- $(MAKE) + +CADDY_HTTP_PORT ?= 1414 + serve: @ caddy fmt --overwrite @ caddy run --watch -- cgit 1.4.1