Merge pull request #455 from Bnyro/proxy

add proxyUrl to `/config`
This commit is contained in:
Kavin 2022-11-20 20:54:09 +00:00 committed by GitHub
commit f9415b9cd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,6 +135,7 @@ public class Constants {
else if (key.startsWith("frontend.")) else if (key.startsWith("frontend."))
frontendProperties.put(StringUtils.substringAfter(key, "frontend."), value); frontendProperties.put(StringUtils.substringAfter(key, "frontend."), value);
}); });
frontendProperties.put("imageProxyUrl", IMAGE_PROXY_PART);
// transform hibernate properties for legacy configurations // transform hibernate properties for legacy configurations
hibernateProperties.replace("hibernate.dialect", hibernateProperties.replace("hibernate.dialect",