Attachment controller fixes
This commit is contained in:
parent
55c96ba7ae
commit
71958f8a01
1 changed files with 7 additions and 1 deletions
|
@ -553,7 +553,7 @@ const WEBSOCKET_CALLS = new Set<keyof typeof URL_CALLS>([
|
||||||
// ProfileController
|
// ProfileController
|
||||||
'profile',
|
'profile',
|
||||||
|
|
||||||
// AttachmentControllerV2
|
// AttachmentControllerV3
|
||||||
'attachmentId',
|
'attachmentId',
|
||||||
|
|
||||||
// RemoteConfigController
|
// RemoteConfigController
|
||||||
|
@ -2757,6 +2757,12 @@ export function initialize({
|
||||||
type: 'PUT',
|
type: 'PUT',
|
||||||
version,
|
version,
|
||||||
data: encryptedBin,
|
data: encryptedBin,
|
||||||
|
redactUrl: () => {
|
||||||
|
const tmp = new URL(uploadLocation);
|
||||||
|
tmp.search = '';
|
||||||
|
tmp.pathname = '';
|
||||||
|
return `${tmp}[REDACTED]`;
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
return cdnKey;
|
return cdnKey;
|
||||||
|
|
Loading…
Reference in a new issue