From e149f0b225693cac4a5fbbe83531d25fcf4de0bb Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Wed, 15 Feb 2023 21:05:14 -0500 Subject: [PATCH] HTML Source bugfix --- lib/app_sources/html.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/app_sources/html.dart b/lib/app_sources/html.dart index 984c20e..865162c 100644 --- a/lib/app_sources/html.dart +++ b/lib/app_sources/html.dart @@ -37,7 +37,9 @@ class HTML extends AppSource { .map((e) => e.toLowerCase().startsWith('http://') || e.toLowerCase().startsWith('https://') ? e - : '${uri.origin}/$e') + : e.startsWith('/') + ? '${uri.origin}/$e' + : '${uri.origin}/${uri.path}/$e') .toList(); return APKDetails(version, apkUrls, AppNames(uri.host, tr('app'))); } else {