aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-12-31 19:52:10 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-12-31 19:52:10 +0530
commit5c8e6b6057c47b7ed348cac85abe803e59cffdad (patch)
treea44dc1c4bdd1ff23332c365995050ebc630bad5f /main.go
parent93d016203e148b7a4402ca3b3abcfecbb2dfcbdb (diff)
fixed broken hyperlink
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 071063a..6e33961 100644
--- a/main.go
+++ b/main.go
@@ -97,7 +97,7 @@ func onActivate(app *gtk.Application) {
// do this after server starts
on = true
buttonSwitch.SetLabel("Stop")
- statusLabel.SetMarkup(fmt.Sprintf("Serving\n%s\nOn <a href='http://localhost:%s'>http://localhost:%s</a>", dir, dir, port))
+ statusLabel.SetMarkup(fmt.Sprintf("Serving\n%s\nOn <a href=\"http://localhost:%s\">http://localhost:%s</a>", dir, port, port))
browseButton.SetCanFocus(false)
portInput.SetEditable(false)
portInput.SetCanFocus(false)