Update default frontend uri (#149)

This commit is contained in:
Kavin 2021-12-20 14:21:45 +00:00 committed by GitHub
parent 5fd34b5b67
commit b0872ce414
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ public class Constants {
CAPTCHA_API_KEY = getProperty(prop, "CAPTCHA_API_KEY"); CAPTCHA_API_KEY = getProperty(prop, "CAPTCHA_API_KEY");
PUBLIC_URL = getProperty(prop, "API_URL"); PUBLIC_URL = getProperty(prop, "API_URL");
HTTP_PROXY = getProperty(prop, "HTTP_PROXY"); HTTP_PROXY = getProperty(prop, "HTTP_PROXY");
FRONTEND_URL = getProperty(prop, "FRONTEND_URL", "https://pipedapi.kavin.rocks"); FRONTEND_URL = getProperty(prop, "FRONTEND_URL", "https://piped.kavin.rocks");
COMPROMISED_PASSWORD_CHECK = Boolean.parseBoolean(getProperty(prop, "COMPROMISED_PASSWORD_CHECK", "true")); COMPROMISED_PASSWORD_CHECK = Boolean.parseBoolean(getProperty(prop, "COMPROMISED_PASSWORD_CHECK", "true"));
DISABLE_REGISTRATION = Boolean.parseBoolean(getProperty(prop, "DISABLE_REGISTRATION", "false")); DISABLE_REGISTRATION = Boolean.parseBoolean(getProperty(prop, "DISABLE_REGISTRATION", "false"));
System.getenv().forEach((key, value) -> { System.getenv().forEach((key, value) -> {