mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 02:04:11 +01:00 
			
		
		
		
	Make serv/update use LOCAL_ROOT_URL instead public
The reasoning for that is in the previous commit.
This commit is contained in:
		
							parent
							
								
									b886fb4bf0
								
							
						
					
					
						commit
						e4a092fb5a
					
				@ -109,7 +109,7 @@ func handleUpdateTask(uuid string, user *models.User, username, reponame string,
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// Ask for running deliver hook and test pull request tasks.
 | 
			
		||||
	reqURL := setting.AppUrl + username + "/" + reponame + "/tasks/trigger?branch=" +
 | 
			
		||||
	reqURL := setting.LocalUrl + username + "/" + reponame + "/tasks/trigger?branch=" +
 | 
			
		||||
		strings.TrimPrefix(task.RefName, "refs/heads/")
 | 
			
		||||
	log.GitLogger.Trace("Trigger task: %s", reqURL)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user