mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-09 16:25:12 +03:00
if the download card is pressed, the expired card shows up properly
This commit is contained in:
@@ -20,7 +20,7 @@ class FileReceiver extends EventEmitter {
|
||||
xhr.onload = function(event) {
|
||||
if (xhr.status === 404) {
|
||||
reject(
|
||||
new Error('The file has expired, or has already been deleted.')
|
||||
new Error('notfound')
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user