mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 01:58:56 +00:00 
			
		
		
		
	Fixed project name on setting module key APP_NAME
This commit is contained in:
		
				
					committed by
					
						 Kim "BKC" Carlbäcker
						Kim "BKC" Carlbäcker
					
				
			
			
				
	
			
			
			
						parent
						
							d93429af8b
						
					
				
				
					commit
					bea9d55da6
				
			| @@ -393,7 +393,7 @@ please consider changing to GITEA_CUSTOM`) | |||||||
| 	forcePathSeparator(LogRootPath) | 	forcePathSeparator(LogRootPath) | ||||||
|  |  | ||||||
| 	sec := Cfg.Section("server") | 	sec := Cfg.Section("server") | ||||||
| 	AppName = Cfg.Section("").Key("APP_NAME").MustString("Gogs: Go Git Service") | 	AppName = Cfg.Section("").Key("APP_NAME").MustString("Gitea: Git with a cup of tea") | ||||||
| 	AppURL = sec.Key("ROOT_URL").MustString("http://localhost:3000/") | 	AppURL = sec.Key("ROOT_URL").MustString("http://localhost:3000/") | ||||||
| 	if AppURL[len(AppURL)-1] != '/' { | 	if AppURL[len(AppURL)-1] != '/' { | ||||||
| 		AppURL += "/" | 		AppURL += "/" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user