File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
algoliasearch/src/main/java/com/algolia/api Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ private static List<Host> getDefaultHosts(String appId) {
37
37
hosts .add (new Host (appId + ".algolia.net" , EnumSet .of (CallType .WRITE )));
38
38
39
39
List <Host > commonHosts = new ArrayList <>();
40
- commonHosts .add (new Host (appId + "-1.algolianet.net " , EnumSet .of (CallType .READ , CallType .WRITE )));
41
- commonHosts .add (new Host (appId + "-2.algolianet.net " , EnumSet .of (CallType .READ , CallType .WRITE )));
42
- commonHosts .add (new Host (appId + "-3.algolianet.net " , EnumSet .of (CallType .READ , CallType .WRITE )));
40
+ commonHosts .add (new Host (appId + "-1.algolianet.com " , EnumSet .of (CallType .READ , CallType .WRITE )));
41
+ commonHosts .add (new Host (appId + "-2.algolianet.com " , EnumSet .of (CallType .READ , CallType .WRITE )));
42
+ commonHosts .add (new Host (appId + "-3.algolianet.com " , EnumSet .of (CallType .READ , CallType .WRITE )));
43
43
44
44
Collections .shuffle (commonHosts , new Random ());
45
45
Original file line number Diff line number Diff line change @@ -49,9 +49,9 @@ private static List<Host> getDefaultHosts(String appId) {
49
49
hosts .add (new Host (appId + ".algolia.net" , EnumSet .of (CallType .WRITE )));
50
50
51
51
List <Host > commonHosts = new ArrayList <>();
52
- commonHosts .add (new Host (appId + "-1.algolianet.net " , EnumSet .of (CallType .READ , CallType .WRITE )));
53
- commonHosts .add (new Host (appId + "-2.algolianet.net " , EnumSet .of (CallType .READ , CallType .WRITE )));
54
- commonHosts .add (new Host (appId + "-3.algolianet.net " , EnumSet .of (CallType .READ , CallType .WRITE )));
52
+ commonHosts .add (new Host (appId + "-1.algolianet.com " , EnumSet .of (CallType .READ , CallType .WRITE )));
53
+ commonHosts .add (new Host (appId + "-2.algolianet.com " , EnumSet .of (CallType .READ , CallType .WRITE )));
54
+ commonHosts .add (new Host (appId + "-3.algolianet.com " , EnumSet .of (CallType .READ , CallType .WRITE )));
55
55
56
56
Collections .shuffle (commonHosts , new Random ());
57
57
You can’t perform that action at this time.
0 commit comments