Bump version to 1.0.0

This commit is contained in:
2019-04-29 21:42:36 +02:00
parent 554af81c01
commit c3b26395e1
3 changed files with 30 additions and 13 deletions

View File

@ -29,7 +29,7 @@ const (
letterIdxMax = 63 / letterIdxBits // # of letter indices fitting in 63 bits
)
const (
appVersion = "0.2.0"
appVersion = "1.0.0"
)
var domain string
@ -77,7 +77,7 @@ func redirect(w http.ResponseWriter, r *http.Request) {
key = rgx.FindString(key)
key, status := get(key)
if status {
u, _ := url.Parse(key)
u, _ := url.Parse(key)
if u.Scheme == "" {
u.Scheme = "https"
}