Skip to content

Commit

Permalink
0003808: Allow override of Symmetric web home (which defaults to '/')…
Browse files Browse the repository at this point in the history
… (3.9)
  • Loading branch information
mmichalek committed Nov 28, 2018
1 parent 37bc426 commit ef2592d
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -259,6 +259,11 @@ public SymmetricWebServer start(int httpPort, int securePort, int httpJmxPort, M
webapp = new WebAppContext();
webapp.setParentLoaderPriority(true);
webapp.setConfigurationDiscovered(true);

if (System.getProperty("symmetric.server.web.home") != null) {
webHome = System.getProperty("symmetric.server.web.home");
}

webapp.setContextPath(webHome);
webapp.setWar(webAppDir);
webapp.setResourceBase(webAppDir);
Expand Down

0 comments on commit ef2592d

Please sign in to comment.