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
......@@ -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");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment