mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2026-11-17 22:58:07 +00:00
Test: get source URL of files
This commit is contained in:
1 parent
9f26c0c8ab
commit
d0bb123e03
18 files changed
+363
-28
No files matched your search
@@ -23,7 +23,6 @@ type Auth interface {
|
||||
}
|
||||
|
||||
// SignURI 对URI进行签名,签名只针对Path部分,query部分不做验证
|
||||
// TODO 测试
|
||||
func SignURI(uri string, expires int64) (*url.URL, error) {
|
||||
base, err := url.Parse(uri)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user