404 check.

This commit is contained in:
SpreedBLood 2021-03-09 14:41:19 +01:00
parent 727c91caf4
commit e706bc4671

View File

@ -40,6 +40,7 @@ export class FileUtilities
if(url.startsWith('http'))
{
const data = await fetch.default(url);
if (data.status === 404) return;
if(data) content = await data.text();
}