mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
fix(api): drop the upload segment signal and dead exports (#2831)
This commit is contained in:
1 parent
522cf08e61
commit
1f810ba04d
4 files changed
+96
-440
No files matched your search
@@ -51,10 +51,6 @@ export function signDataPackageAttachmentUrl(url: string, nowSecs?: number): str
|
||||
return options === null ? url : signDataPackageWithSecret(url, options);
|
||||
}
|
||||
|
||||
export function stripAttachmentSignature(url: string): string {
|
||||
return stripSignature(url);
|
||||
}
|
||||
|
||||
export function stripOwnAttachmentSignature(url: string): string {
|
||||
return attachmentStorageKeyFromUrl(url, Config.endpoints.media) === null ? url : stripSignature(url);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user