Skip to content

Commit 59c0576

Browse files
feat: specified host name in stack.java
1 parent 1544156 commit 59c0576

File tree

1 file changed

+2
-0
lines changed
  • contentstack/src/main/java/com/contentstack/sdk

1 file changed

+2
-0
lines changed

contentstack/src/main/java/com/contentstack/sdk/Stack.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ protected void setConfig(Config config) {
8080
URL = "azure-na-cdn.contentstack.com";
8181
} else if (region.equalsIgnoreCase("azure_eu")) {
8282
URL = "azure-eu-cdn.contentstack.com";
83+
}else if (region.equalsIgnoreCase("gcp_na")) {
84+
URL = "gcp-na-cdn.contentstack.com";
8385
} else {
8486
URL = region + "-" + URL;
8587
}

0 commit comments

Comments
 (0)