mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 13:35:50 +01:00
Fix error when base url is configured.
This commit is contained in:
@@ -143,7 +143,7 @@ abstract class ControllerBase extends ScalatraFilter
|
||||
*/
|
||||
case class Context(path: String, loginAccount: Option[Account], request: HttpServletRequest){
|
||||
|
||||
lazy val currentPath = request.getRequestURI.substring(path.length)
|
||||
lazy val currentPath = request.getRequestURI.substring(request.getContextPath.length)
|
||||
|
||||
/**
|
||||
* Get object from cache.
|
||||
|
||||
Reference in New Issue
Block a user