From c8a2190606ba240f1a91ea604dd1b616fcac7d41 Mon Sep 17 00:00:00 2001 From: Tom Andrade Date: Wed, 18 May 2022 13:34:06 +0200 Subject: [PATCH] fix: http flag default value --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 0580313..8025717 100644 --- a/main.go +++ b/main.go @@ -64,7 +64,7 @@ func main() { addr = flag.String("addr", "localhost", "Address to listen for connections") domain = flag.String("domain", "localhost", "Domain to write to the URLs") path = flag.String("path", "", "Path to the base URL (https://localhost/PATH/...") - http = flag.Bool("http", true, "proto to the base URL (HTTPS://localhost/path/... no real https here just to set the url (for like a proxy offloading https") + http = flag.Bool("http", false, "proto to the base URL (HTTPS://localhost/path/... no real https here just to set the url (for like a proxy offloading https") port = flag.Int("port", 8080, "Port to listen for connections") exp = flag.Int("exp", 240, "Default expiration time in hours, default 240") cleanup = flag.Int("cleanup", 1, "Cleanup interval in hours, default 1")