File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
src/main/java/com/contentstack/sdk Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 66
77 <groupId >com.contentstack.sdk</groupId >
88 <artifactId >java</artifactId >
9- <version >1.4.2-SNAPSHOT </version >
9+ <version >1.4.2</version >
1010 <packaging >jar</packaging >
1111
1212 <name >contentstack-java</name >
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public class Config {
3232 protected String environment = null ;
3333 protected ContentstackRegion region = ContentstackRegion .US ;
3434
35- public enum ContentstackRegion { US , EUROPE }
35+ public enum ContentstackRegion { US , EU }
3636
3737 public ContentstackRegion getRegion () { return this .region ; }
3838
Original file line number Diff line number Diff line change 22
33import com .contentstack .sdk .utility .CSAppConstants ;
44import com .contentstack .sdk .utility .CSController ;
5- import org .apache .log4j .BasicConfigurator ;
65import org .apache .log4j .Level ;
76import org .apache .log4j .LogManager ;
87import org .apache .log4j .Logger ;
@@ -106,7 +105,7 @@ protected void setConfig(Config config){
106105 if (URL .equalsIgnoreCase ("cdn.contentstack.io" )) {
107106 URL = "cdn.contentstack.com" ;
108107 }
109- URL = "eu -" +URL ;
108+ URL = region + " -" +URL ;
110109 }
111110 }
112111
You can’t perform that action at this time.
0 commit comments