Change API base URL to www.b0esche.cloud and revert host to www for public URLs
This commit is contained in:
@@ -2943,7 +2943,7 @@ func publicFileShareHandler(w http.ResponseWriter, r *http.Request, db *database
|
||||
} else if r.TLS == nil {
|
||||
scheme = "http"
|
||||
}
|
||||
host := r.Host
|
||||
host := "www.b0esche.cloud"
|
||||
downloadPath := fmt.Sprintf("%s://%s/public/share/%s/download?token=%s", scheme, host, token, url.QueryEscape(viewerToken))
|
||||
viewPath := fmt.Sprintf("%s://%s/public/share/%s/view?token=%s", scheme, host, token, url.QueryEscape(viewerToken))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user