Skip to content

Commit

Permalink
Added http:// prefix to the shorten URL so you can click it inside VS…
Browse files Browse the repository at this point in the history
…Code
  • Loading branch information
osakitadev committed Dec 25, 2024
1 parent 2f7bcb8 commit 27cebfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func main() {
}
hashedURL := HashURL(URL)

log.Println("Shortened URL:", "localhost:8080/"+hashedURL)
log.Println("Shortened URL:", "http://localhost:8080/"+hashedURL)

SaveURLToFile(hashedURL, URL)
ServeServer()
Expand Down

0 comments on commit 27cebfd

Please sign in to comment.