JAL-3353 Change to build.gradle to use the file:// enabled getdown-launcher-local...
[jalview.git] / getdown / src / getdown / core / src / main / java / com / threerings / getdown / util / HostWhitelist.java
index f2f7ef3..ff0661b 100644 (file)
@@ -59,5 +59,5 @@ public final class HostWhitelist
         throw new MalformedURLException(
             "The host for the specified URL (" + url + ") is not in the host whitelist: " + hosts);
     }
-    private static boolean ALLOW_LOCATOR_FILE_PROTOCOL = true;
+    private static final boolean ALLOW_LOCATOR_FILE_PROTOCOL = Build.allowLocatorFileProtocol();
 }