From 5d253a0fba287a01779dde5ec932598bb8876426 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Trygve=20Laugst=C3=B8l?= Date: Fri, 30 Sep 2011 16:43:33 +0800 Subject: [PATCH] o Adding support for customizing the webapp's context path. --- src/com/gitblit/GitBlitServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/gitblit/GitBlitServer.java b/src/com/gitblit/GitBlitServer.java index 5c8c5fe4..1b079de8 100644 --- a/src/com/gitblit/GitBlitServer.java +++ b/src/com/gitblit/GitBlitServer.java @@ -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); -- 2.39.5