We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d68ee03 + 8a1acdf commit e15a51dCopy full SHA for e15a51d
src/com/netease/dagger/GlobalSettings.java
@@ -38,7 +38,7 @@ public class GlobalSettings {
38
39
public static String timeout = prop.getProperty("Timeout", "30000");
40
41
- public static String baseStorageUrl = prop.getProperty("baseStorageUrl", (new File("screenshot")).getParent());
+ public static String baseStorageUrl = prop.getProperty("baseStorageUrl", System.getProperty("user.dir"));
42
43
public static String getProperty(String property) {
44
return prop.getProperty(property);
@@ -55,4 +55,4 @@ public static Properties getProperties() {
55
}
56
return prop;
57
58
-}
+}
0 commit comments