mirror of
https://github.com/timvisee/send.git
synced 2026-03-05 13:39:54 -05:00
fixed isFile for extended file id size
This commit is contained in:
@@ -25,7 +25,7 @@ function loadShim(polyfill) {
|
||||
}
|
||||
|
||||
function isFile(id) {
|
||||
return /^[0-9a-fA-F]{10}$/.test(id);
|
||||
return /^[0-9a-fA-F]{10,16}$/.test(id);
|
||||
}
|
||||
|
||||
function copyToClipboard(str) {
|
||||
|
||||
Reference in New Issue
Block a user