Release first stable version!

This commit is contained in:
Seednode 2023-09-28 04:42:30 -05:00
parent 602f344654
commit c8dcc58c1a
2 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ import (
)
const (
ReleaseVersion string = "0.97.1"
ReleaseVersion string = "1.0.0"
)
var (

View File

@ -37,7 +37,7 @@ const (
logDate string = `2006-01-02T15:04:05.000-07:00`
sourcePrefix string = `/source`
mediaPrefix string = `/view`
RedirectStatusCode int = http.StatusSeeOther
redirectStatusCode int = http.StatusSeeOther
timeout time.Duration = 10 * time.Second
)
@ -231,7 +231,7 @@ func serveRoot(paths []string, regexes *regexes, cache *fileCache, formats *type
preparePath(path),
queryParams,
)
http.Redirect(w, r, newUrl, RedirectStatusCode)
http.Redirect(w, r, newUrl, redirectStatusCode)
}
}
@ -377,7 +377,7 @@ func redirectRoot() httprouter.Handle {
Prefix,
)
http.Redirect(w, r, newUrl, RedirectStatusCode)
http.Redirect(w, r, newUrl, redirectStatusCode)
}
}