[DEBUG] correct variables
This commit is contained in:
parent
80f8e81dcb
commit
dccf93119a
@ -51,7 +51,7 @@ public class ConfigVariable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static String getDBPassword() {
|
public static String getDBPassword() {
|
||||||
String out = System.getProperty("org.kar.karideo.db.password");
|
String out = System.getProperty("MYSQL_ROOT_PASSWORD");
|
||||||
if (out == null) {
|
if (out == null) {
|
||||||
return "klkhj456gkgtkhjgvkujfhjgkjhgsdfhb3467465fgdhdesfgh";
|
return "klkhj456gkgtkhjgvkujfhjgkjhgsdfhb3467465fgdhdesfgh";
|
||||||
}
|
}
|
||||||
@ -59,7 +59,7 @@ public class ConfigVariable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static String getDBName() {
|
public static String getDBName() {
|
||||||
String out = System.getProperty("org.kar.karideo.db.name");
|
String out = System.getProperty("MYSQL_DATABASE");
|
||||||
if (out == null) {
|
if (out == null) {
|
||||||
return "karideo";
|
return "karideo";
|
||||||
}
|
}
|
||||||
@ -69,7 +69,7 @@ public class ConfigVariable {
|
|||||||
public static String getlocalAddress() {
|
public static String getlocalAddress() {
|
||||||
String out = System.getProperty("org.kar.karideo.address");
|
String out = System.getProperty("org.kar.karideo.address");
|
||||||
if (out == null) {
|
if (out == null) {
|
||||||
return "http://localhost:18080/karideo/api/";
|
return "http://0.0.0.0:18080/karideo/api/";
|
||||||
}
|
}
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user