From 8a419438bb75d06c9a85efe67e8ba6c0c798e71f Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Wed, 25 Dec 2019 17:25:32 -0500 Subject: [PATCH] [+] Allow url images --- src/App.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App.ts b/src/App.ts index 6729673..8231e7d 100644 --- a/src/App.ts +++ b/src/App.ts @@ -63,6 +63,7 @@ class Artwork getURL(img: string) { + if (img.toLowerCase().startsWith('http')) return img; try { return require('./assets/' + img);