From 8dc26a0ac5e5f1aa9296c5db71114dce19503973 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Wed, 13 May 2020 23:45:39 +0200 Subject: [PATCH] weblib: fix unauthorized detection on client --- src/be/nikiroo/fanfix/library/WebLibrary.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/be/nikiroo/fanfix/library/WebLibrary.java b/src/be/nikiroo/fanfix/library/WebLibrary.java index 8c71ff5..9769fea 100644 --- a/src/be/nikiroo/fanfix/library/WebLibrary.java +++ b/src/be/nikiroo/fanfix/library/WebLibrary.java @@ -128,7 +128,7 @@ public class WebLibrary extends BasicLibrary { download(WebLibraryUrls.INDEX_URL).close(); } catch (IOException e) { try { - download(WebLibraryUrls.VERSION_URL).close(); + download("/style.css").close(); return Status.UNAUTHORIZED; } catch (IOException ioe) { return Status.UNAVAILABLE; -- 2.27.0