Skip to content

Commit 8e9450a

Browse files
author
=
committed
minor tweaks
1 parent 5730169 commit 8e9450a

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@ go.work.sum
2525
.env
2626

2727
# build directory
28-
build/
28+
build/
29+
30+
# vscode workspace
31+
.vscode/
32+
*.code-workspace

cmd/simpleton/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type Settings struct {
2525
}
2626

2727
func (s *Settings) ParseFlags() {
28-
flag.StringVar(&s.ListenAddrs, "l", "0.0.0.0:80,[::]:80", "Comma-separated list of addresses to listen on")
28+
flag.StringVar(&s.ListenAddrs, "l", ":80", "Comma-separated list of addresses to listen on")
2929
flag.StringVar(&s.AccessLogPath, "a", "-", "Path to access log file")
3030
flag.StringVar(&s.ServerLogPath, "s", "-", "Path to server log file")
3131
flag.BoolVar(&s.Chroot, "c", false, "Chroot to content directory")

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ build target="linux/amd64":
2727
.
2828

2929
# Rule to build for multiple platforms at once
30-
build-all:
30+
build-all: clean
3131
docker buildx create --use --name multiarch-builder || true
3232
docker buildx build \
3333
--platform {{all_targets}} \

0 commit comments

Comments
 (0)