From 1ab1a7b084c1f261c89e54947b40963a284b4915 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Sun, 7 Jan 2024 10:41:22 +0100 Subject: [PATCH] By default publish the server result locally in the network for testing with real devices --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ed949f7..e201996 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ HUGO_PARAMS = DEV_PARAMS = -D +SERVER_PARAMS = --bind 0.0.0.0 all: @@ -10,10 +11,10 @@ dev: hugo ${HUGO_PARAMS} ${DEV_PARAMS} server: - hugo server ${HUGO_PARAMS} + hugo server ${HUGO_PARAMS} ${SERVER_PARAMS} dev-server: - hugo server ${HUGO_PARAMS} ${DEV_PARAMS} + hugo server ${HUGO_PARAMS} ${SERVER_PARAMS} ${DEV_PARAMS} tarball: build tar czf page.tar.gz -C public .