baseUrl property
String
get
baseUrl
Implementation
String get baseUrl {
switch (this) {
case Region.eu:
return "https://api.storyblok.com/v2/cdn";
case Region.us:
return "https://api-us.storyblok.com/v2/cdn";
case Region.ca:
return "https://api-ca.storyblok.com/v2/cdn";
case Region.ap:
return "https://api-ap.storyblok.com/v2/cdn";
case Region.cn:
return "https://app.storyblokchina.cn";
}
}