fix(launcher): skip url files in sync

This commit is contained in:
Scott Idem
2026-05-13 13:36:57 -04:00
parent 8d5c5e39c9
commit e5883cd53c
2 changed files with 16 additions and 3 deletions

View File

@@ -110,7 +110,8 @@ let is_online: boolean = $state(typeof navigator !== 'undefined' ? navigator.onL
*/
const is_url = $derived(
(event_file_obj?.filename ?? '').startsWith('https://') ||
(event_file_obj?.filename ?? '').startsWith('http://')
(event_file_obj?.filename ?? '').startsWith('http://') ||
(event_file_obj?.extension ?? '').toLowerCase() === 'url'
);
let screen_saver_exts = ['jpg', 'png', 'PNG', 'webp'];