mirror of
				https://github.com/SphericalKat/medium.rip.git
				synced 2025-11-04 04:25:56 +00:00 
			
		
		
		
	Update api.go
This commit is contained in:
		
							parent
							
								
									0cd9fd70cb
								
							
						
					
					
						commit
						b21a4c7e31
					
				@ -22,6 +22,7 @@ func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine
 | 
			
		||||
		AppName:               "Katbox",
 | 
			
		||||
		DisableStartupMessage: true,
 | 
			
		||||
		Views: engine,
 | 
			
		||||
		Network: "tcp",
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	// static file server
 | 
			
		||||
@ -48,4 +49,4 @@ func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine
 | 
			
		||||
		log.Warn("Server shutdown Failed: ", err)
 | 
			
		||||
	}
 | 
			
		||||
	wg.Done()
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user