go-shrt

Shortlinks and go-get redirects
git clone git://git.danielmoch.com/go-shrt.git
Log | Files | Refs | README | LICENSE

commit db78a0bed87a9c3a6e50c05c3823c9c8201a63a3
parent 86b6e110379859b312021bc8f02ed84945df035c
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Tue, 22 Dec 2020 10:23:54 -0500

Listen on localhost by default

Diffstat:
Mcmd/shrt/main.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/shrt/main.go b/cmd/shrt/main.go @@ -216,7 +216,7 @@ func main() { dbpath := "shrt.db" cfgpath := "shrt.conf" - listenaddr := ":8080" + listenaddr := "localhost:8080" doinit := false for i := 1; i < len(os.Args); i++ { switch os.Args[i] {