aboutsummaryrefslogtreecommitdiff
path: root/qr_code.go
diff options
context:
space:
mode:
authorSlack Coder <slackcoder@server.ky>2023-09-14 13:54:49 -0500
committerSlack Coder <slackcoder@server.ky>2023-09-14 15:52:56 -0500
commit33af09195b60fd7364e2190934717a9345ce6cad (patch)
tree947017bc407ff86040f0c4c162268089e8c8e6aa /qr_code.go
parente4d26432d4ef366c9e4b969d4fdb8d4728b545b3 (diff)
downloadsend-over-http-33af09195b60fd7364e2190934717a9345ce6cad.tar.xz
Allow user to set network address
Give the user the ability to set which network address to listen on and the network type (IP 4 or 6 etc.). Randomly choose an available port to avoid conflicting with other services listening on a predefined one.
Diffstat (limited to 'qr_code.go')
-rw-r--r--qr_code.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/qr_code.go b/qr_code.go
index 13a4aa0..f21d01f 100644
--- a/qr_code.go
+++ b/qr_code.go
@@ -25,7 +25,7 @@ func NewTerminalQRShower(str string) *TerminalQRShower {
func (s *TerminalQRShower) Start() error {
qrterminal.Generate(s.str, qrterminal.L, os.Stdout)
fmt.Println()
- fmt.Printf("serving on '%s'", s.str)
+ fmt.Printf("Hosting file at %s", s.str)
fmt.Println()
fmt.Println()
s.waiter.Wait()