mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Revoke 1-time object URLs
This commit is contained in:
@ -139,6 +139,7 @@ export function download(content, fileName, contentType) {
|
||||
a.href = URL.createObjectURL(file);
|
||||
a.download = fileName;
|
||||
a.click();
|
||||
URL.revokeObjectURL(a.href);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user