Skip to content

Commit 4319034

Browse files
feat: added gcp_na region
1 parent 23410ea commit 4319034

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Contentstack/ContentstackDefinitions.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@
7979
US = 0,
8080
EU,
8181
AZURE_NA,
82-
AZURE_EU
82+
AZURE_EU,
83+
GCP_NA
8384
};
8485

8586
typedef NS_ENUM(NSUInteger, Language) {

ContentstackInternal/NSObject+Extensions.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ -(NSArray*)hostURLS {
4343
static dispatch_once_t hostURLSOnceToken;
4444
dispatch_once(&hostURLSOnceToken, ^{
4545
hostURLS = @[@"cdn.contentstack.io",
46+
@"cdn.contentstack.com",
4647
@"cdn.contentstack.com",
4748
@"cdn.contentstack.com",
4849
@"cdn.contentstack.com"];
@@ -61,7 +62,8 @@ -(NSArray*)regionCodes {
6162
regionCodes = @[@"us",
6263
@"eu",
6364
@"azure-na",
64-
@"azure-eu"];
65+
@"azure-eu",
66+
@"gcp-na"];
6567
});
6668
return regionCodes;
6769
}

0 commit comments

Comments
 (0)