mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-12 21:30:29 +05:30
Hibernate environment variables double underscore to period
This commit is contained in:
parent
3691349d8b
commit
643d7ad4d5
@ -165,8 +165,7 @@ public class Constants {
|
||||
}
|
||||
System.getenv().forEach((key, value) -> {
|
||||
if (key.startsWith("HIBERNATE"))
|
||||
String k = key.replace("_", ".").toLowerCase();
|
||||
hibernateProperties.put(k, value);
|
||||
hibernateProperties.put(key.replace("__", ".").toLowerCase(), value);
|
||||
});
|
||||
MATRIX_SERVER = getProperty(prop, "MATRIX_SERVER", "https://matrix-client.matrix.org");
|
||||
MATRIX_TOKEN = getProperty(prop, "MATRIX_TOKEN");
|
||||
|
Loading…
Reference in New Issue
Block a user