mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Use send.bitwarden.com (#251)
* Use send.bitwarden.com still need compatibiltiy with /#/send/id/key, but adding on compability with #id/key * Fix create links pointing to vault with wrong hash * Fix Url
This commit is contained in:
@@ -94,7 +94,7 @@ export class SendReceiveCommand extends DownloadCommand {
|
||||
}
|
||||
|
||||
private getIdAndKey(url: URL): [string, string] {
|
||||
const result = url.hash.split('/').slice(2);
|
||||
const result = url.hash.slice(1).split('/').slice(-2);
|
||||
return [result[0], result[1]];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user