mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	fix #367
This commit is contained in:
		| @@ -156,7 +156,10 @@ func NewConfigContext() { | ||||
|  | ||||
| 	AppName = Cfg.MustValue("", "APP_NAME", "Gogs: Go Git Service") | ||||
| 	AppLogo = Cfg.MustValue("", "APP_LOGO", "img/favicon.png") | ||||
| 	AppUrl = Cfg.MustValue("server", "ROOT_URL", "http://localhost:3000") | ||||
| 	AppUrl = Cfg.MustValue("server", "ROOT_URL", "http://localhost:3000/") | ||||
| 	if AppUrl[len(AppUrl)-1] != '/' { | ||||
| 		AppUrl += "/" | ||||
| 	} | ||||
|  | ||||
| 	Protocol = HTTP | ||||
| 	if Cfg.MustValue("server", "PROTOCOL") == "https" { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user