Skip to content

Commit

Permalink
Merge pull request #5643 from Sage-Bionetworks/release-532
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgros authored Feb 19, 2025
2 parents 26e2e1c + 01fbe78 commit 0dd7f2e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ private String getHostForOneSage() {
switch (gwtWrapper.getHostName().toLowerCase()) {
case "staging.synapse.org":
return "https://staging.accounts.synapse.org";
case "portal-dev.dev.sagebase.org":
return "https://accounts-dev.dev.sagebase.org";
case "dev.synapse.org":
return "https://dev.accounts.synapse.org";
case "localhost":
case "127.0.0.1":
return "http://" + Window.Location.getHostName() + ":3000";
Expand All @@ -34,7 +34,7 @@ public String getAppIdForOneSage() {
switch (gwtWrapper.getHostName().toLowerCase()) {
case "staging.synapse.org":
return "staging.synapse.org";
case "portal-dev.dev.sagebase.org":
case "dev.synapse.org":
return "dev.synapse.org";
case "localhost":
case "127.0.0.1":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class StackEndpoints {

public static final String STAGING_SYNAPSE_ORG = "staging.synapse.org";
public static final String TST_SYNAPSE_ORG = "tst.synapse.org";
public static final String PORTAL_DEV_HOST = "portal-dev.dev.sagebase.org";
public static final String PORTAL_DEV_HOST = "dev.synapse.org";
private static Logger logger = Logger.getLogger(
StackEndpoints.class.getName()
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public void testEndpointConstructionTst() {

@Test
public void testEndpointConstructionDev() {
String requestHostName = "portal-dev.dev.sagebase.org";
String requestHostName = "dev.synapse.org";
String expected = "https://repo-dev.dev.sagebase.org";

assertEquals(
Expand Down

0 comments on commit 0dd7f2e

Please sign in to comment.