Skip to content

Commit e15a51d

Browse files
committed
Merge pull request #42 from chenDoInG/patch-1
Update GlobalSettings.java
2 parents d68ee03 + 8a1acdf commit e15a51d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/netease/dagger/GlobalSettings.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class GlobalSettings {
3838

3939
public static String timeout = prop.getProperty("Timeout", "30000");
4040

41-
public static String baseStorageUrl = prop.getProperty("baseStorageUrl", (new File("screenshot")).getParent());
41+
public static String baseStorageUrl = prop.getProperty("baseStorageUrl", System.getProperty("user.dir"));
4242

4343
public static String getProperty(String property) {
4444
return prop.getProperty(property);
@@ -55,4 +55,4 @@ public static Properties getProperties() {
5555
}
5656
return prop;
5757
}
58-
}
58+
}

0 commit comments

Comments
 (0)