Skip to content

Commit

Permalink
use constant instead of hardcoded URL
Browse files Browse the repository at this point in the history
  • Loading branch information
sstark committed May 6, 2019
1 parent 5c3736b commit ec95179
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 @@ -159,7 +159,7 @@ func main() {
return
}
entry := store.NewEntry(r.Form.Get("secret"), 1, 7, "anonymous", "")
w.Write([]byte(fmt.Sprintf("%s/g?id=%s", getURLBase(), entry)))
w.Write([]byte(fmt.Sprintf("%s%s?id=%s", getURLBase(), uGet, entry)))
})
}

Expand Down

0 comments on commit ec95179

Please sign in to comment.