git: 863b9e26bf - main - Allow binding to interfaces other than loopback

Allan Jude <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by allanjude:

URL: https://cgit.FreeBSD.org/doc/commit/?id=863b9e26bfe6022ff4cbdbe3d81e27c1561870e0

commit 863b9e26bfe6022ff4cbdbe3d81e27c1561870e0
Author:     Allan Jude <[email protected]>
AuthorDate: 2021-04-27 00:31:37 +0000
Commit:     Allan Jude <[email protected]>
CommitDate: 2021-04-27 00:31:37 +0000

    Allow binding to interfaces other than loopback
    
    This is the same as fd2542a877f6ac5dab6f6d819c8319beeb53aa76
    except applied to the website Makefile instead of only documentation
    
    Sponsored-By:   Klara Inc.
---
 website/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/Makefile b/website/Makefile
index a4b6bf497a..cc4f66b22f 100644
--- a/website/Makefile
+++ b/website/Makefile
@@ -44,7 +44,7 @@ generate-releases: .PHONY
 	${PYTHON_CMD} ./tools/releases-toml.py -p ./shared/releases.adoc
 
 run-local: .PHONY
-	${HUGO_CMD} server -D --baseURL="http://$(.HOST):1313"
+	${HUGO_CMD} server -D $(BIND:D--bind=$(BIND)) --baseURL="http://$(.HOST):1313"
 
 build: .PHONY
 	${HUGO_CMD}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.