Skip to content
Snippets Groups Projects
Commit 02c9c5fb authored by iwakeh's avatar iwakeh
Browse files

Make exonerator host configurable.

This is useful for local testing or different server setups.
The host URL and port can be set by system property 'exonerator.url', e.g.,
'-Dexonerator.url=http://127.0.0.1:8080'.  This applies to both the full and
the dummy war.
parent c2731e58
Branches
Tags
No related merge requests found
......@@ -38,7 +38,8 @@ public class ExoneraTorServlet extends HttpServlet {
private Logger logger;
private String exoneraTorHost = "https://exonerator.torproject.org";
private String exoneraTorHost = System.getProperty("exonerator.url",
"https://exonerator.torproject.org");
private List<String> availableLanguages =
Arrays.asList("de", "en", "fr", "ro", "sv");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment