mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2026-11-26 07:24:47 +00:00
Feat: download / preview files in slave side
This commit is contained in:
1 parent
35c2a5c977
commit
b19910867e
8 files changed
+107
-6
No files matched your search
@@ -117,6 +117,7 @@ func (handler Handler) Source(
|
||||
baseURL url.URL,
|
||||
ttl int64,
|
||||
isDownload bool,
|
||||
speed int,
|
||||
) (string, error) {
|
||||
file, ok := ctx.Value(fsctx.FileModelCtx).(model.File)
|
||||
if !ok {
|
||||
|
||||
Reference in new issue
Block a user