diff options
author | Thomas <> | 2023-11-22 16:01:38 +0100 |
---|---|---|
committer | Thomas <> | 2023-11-22 16:01:38 +0100 |
commit | e139d108925c6c5bdd8eaf6aab09f4275b7c2171 (patch) | |
tree | 05d42b3877e387694af89756975d510d4f8271a4 /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config | |
parent | dd3da582f803f21abd4480413f2d288a22f102c5 (diff) | |
download | pdf-as-4-e139d108925c6c5bdd8eaf6aab09f4275b7c2171.tar.gz pdf-as-4-e139d108925c6c5bdd8eaf6aab09f4275b7c2171.tar.bz2 pdf-as-4-e139d108925c6c5bdd8eaf6aab09f4275b7c2171.zip |
feat(web): add configuration parameter to use different domain for DataURL communication
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config')
-rw-r--r-- | pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java index 1fffb17d..81b60131 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java @@ -39,6 +39,7 @@ import at.gv.egiz.pdfas.web.helper.PdfAsHelper; public class WebConfiguration implements IConfigurationConstants { public static final String PUBLIC_URL = "public.url"; + public static final String PUBLIC_DATA_URL = "public.data.url"; public static final String LOCAL_BKU_ENABLED = "bku.sign.enabled"; public static final String ONLINE_BKU_ENABLED = "moc.sign.enabled"; public static final String MOBILE_BKU_ENABLED = "mobile.sign.enabled"; @@ -226,6 +227,10 @@ public class WebConfiguration implements IConfigurationConstants { return properties.getProperty(PUBLIC_URL); } + public static String getPublicDataURL() { + return properties.getProperty(PUBLIC_DATA_URL); + } + public static String getLocalBKUURL() { if(getLocalBKUEnabled()) { String overwrite = properties.getProperty(CONFIG_BKU_URL); |