This commit is contained in:
Gabriel Simmer 2024-07-27 18:43:13 +01:00 committed by GitHub
commit ba0145596d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -164,8 +164,8 @@ public class Constants {
S3_CLIENT = null; S3_CLIENT = null;
} }
System.getenv().forEach((key, value) -> { System.getenv().forEach((key, value) -> {
if (key.startsWith("hibernate")) if (key.startsWith("HIBERNATE"))
hibernateProperties.put(key, value); hibernateProperties.put(key.replace("__", ".").toLowerCase(), value);
}); });
MATRIX_SERVER = getProperty(prop, "MATRIX_SERVER", "https://matrix-client.matrix.org"); MATRIX_SERVER = getProperty(prop, "MATRIX_SERVER", "https://matrix-client.matrix.org");
MATRIX_TOKEN = getProperty(prop, "MATRIX_TOKEN"); MATRIX_TOKEN = getProperty(prop, "MATRIX_TOKEN");