Use https for primary packages server (#1476)
* Use https for primary packages server * Fix okToUsePackageServer
This commit is contained in:
parent
a47dccc7f6
commit
35504dc460
|
@ -95,7 +95,7 @@ public abstract class BasePackageCacheManager implements IPackageCacheManager {
|
|||
// this is not a long term thing, but it's not clear how to release patches for
|
||||
// 1.4.0
|
||||
private boolean okToUsePackageServer(String server, String id) {
|
||||
if ("http://packages.fhir.org".equals(server) && "hl7.fhir.r2b.core".equals(id)) {
|
||||
if (PackageServer.PRIMARY_SERVER.equals(server) && "hl7.fhir.r2b.core".equals(id)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
@ -46,7 +46,7 @@ public class PackageServer {
|
|||
return url;
|
||||
}
|
||||
|
||||
public static final String PRIMARY_SERVER = "http://packages.fhir.org";
|
||||
public static final String PRIMARY_SERVER = "https://packages.fhir.org";
|
||||
public static final String SECONDARY_SERVER = "https://packages2.fhir.org/packages";
|
||||
|
||||
public static PackageServer primaryServer() {
|
||||
|
|
Loading…
Reference in New Issue