mirror of
				https://github.com/gitbucket/gitbucket.git
				synced 2025-10-31 10:36:05 +01:00 
			
		
		
		
	Fix repository url.
This commit is contained in:
		| @@ -82,7 +82,7 @@ abstract class ControllerBase extends ScalatraFilter | ||||
|  | ||||
|   protected def baseUrl = { | ||||
|     val url = request.getRequestURL.toString | ||||
|     url.substring(0, url.length - request.getRequestURI.length) | ||||
|     url.substring(0, url.length - (request.getRequestURI.length - request.getContextPath.length)) | ||||
|   } | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user