* Ginmode force
This commit is contained in:
		
							parent
							
								
									40e02abe87
								
							
						
					
					
						commit
						39e16ce408
					
				| 
						 | 
					@ -10,6 +10,9 @@ func SetupRouter() *gin.Engine {
 | 
				
			||||||
	cfg := config.GetConfiguration()
 | 
						cfg := config.GetConfiguration()
 | 
				
			||||||
	r := gin.Default()
 | 
						r := gin.Default()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// Set gin to release
 | 
				
			||||||
 | 
						gin.SetMode(gin.ReleaseMode)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	r.Use(BasicAuthMiddleware(cfg.IdentityUsername, cfg.IdentityPassword))
 | 
						r.Use(BasicAuthMiddleware(cfg.IdentityUsername, cfg.IdentityPassword))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Setup Health Pings
 | 
						// Setup Health Pings
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 84 KiB  | 
		Loading…
	
		Reference in New Issue