mirror of
https://codeberg.org/scip/ephemerup.git
synced 2025-12-17 12:40:57 +01:00
added key auth support for rw operations (upload, non-expiring download)
This commit is contained in:
@@ -63,7 +63,7 @@ func ProcessFormFiles(cfg *cfg.Config, members []string, id string) (string, str
|
||||
Filename := ""
|
||||
|
||||
if len(members) == 1 {
|
||||
returnUrl = strings.Join([]string{cfg.Url + cfg.ApiPrefix + ApiVersion, "file", id, members[0]}, "/")
|
||||
returnUrl = strings.Join([]string{cfg.Url, "download", id, members[0]}, "/")
|
||||
Filename = members[0]
|
||||
} else {
|
||||
zipfile := Ts() + "data.zip"
|
||||
|
||||
Reference in New Issue
Block a user