Browse Source

o Adding support for customizing the webapp's context path.

tags/v0.7.0
Trygve Laugstøl 12 years ago
parent
commit
5d253a0fba
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/com/gitblit/GitBlitServer.java

+ 1
- 1
src/com/gitblit/GitBlitServer.java View File

@@ -209,7 +209,7 @@ public class GitBlitServer {
// Root WebApp Context
WebAppContext rootContext = new WebAppContext();
rootContext.setContextPath("/");
rootContext.setContextPath(settings.getString(Keys.server.contextPath, "/"));
rootContext.setServer(server);
rootContext.setWar(location.toExternalForm());
rootContext.setTempDirectory(tempDir);

Loading…
Cancel
Save