From: Niki Roo Date: Wed, 13 May 2020 21:45:39 +0000 (+0200) Subject: weblib: fix unauthorized detection on client X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=8dc26a0ac5e5f1aa9296c5db71114dce19503973;p=nikiroo-utils.git weblib: fix unauthorized detection on client --- 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;