mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-30 19:08:37 +00:00 
			
		
		
		
	Bug fix
This commit is contained in:
		
							
								
								
									
										4
									
								
								serve.go
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								serve.go
									
									
									
									
									
								
							| @@ -45,6 +45,10 @@ func In(b string, sl map[string]int) bool { | |||||||
| } | } | ||||||
|  |  | ||||||
| func runServ(*cli.Context) { | func runServ(*cli.Context) { | ||||||
|  | 	base.NewConfigContext() | ||||||
|  | 	models.LoadModelsConfig() | ||||||
|  | 	models.NewEngine() | ||||||
|  |  | ||||||
| 	keys := strings.Split(os.Args[2], "-") | 	keys := strings.Split(os.Args[2], "-") | ||||||
| 	if len(keys) != 2 { | 	if len(keys) != 2 { | ||||||
| 		fmt.Println("auth file format error") | 		fmt.Println("auth file format error") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user