JAL-1713 update from Jalview 2.11.3 develop
[jalview.git] / src / jalview / ws / dbsources / Rfam.java
index c9ee7fc..12f2d27 100644 (file)
@@ -22,6 +22,7 @@ package jalview.ws.dbsources;
 
 import jalview.bin.Cache;
 import jalview.datamodel.DBRefSource;
+import jalview.util.Platform;
 
 import com.stevesoft.pat.Regex;
 
@@ -34,7 +35,12 @@ abstract public class Rfam extends Xfam
 {
   static final String RFAM_BASEURL_KEY = "RFAM_BASEURL";
 
-  private static final String DEFAULT_RFAM_BASEURL = "https://rfam.xfam.org";
+  private static final String DEFAULT_RFAM_BASEURL = "https://rfam.org";
+
+  static
+  {
+    Platform.addJ2SDirectDatabaseCall(DEFAULT_RFAM_BASEURL);
+  }
 
   /*
    * append to URLs to retrieve as a gzipped file