mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2025-12-17 23:15:58 +00:00
Update api.go
This commit is contained in:
parent
8f75e96acf
commit
e0e8a19963
@ -37,7 +37,7 @@ func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine
|
||||
if config.Conf.Proxy != "" {
|
||||
proxy.WithTlsConfig(&tls.Config{ InsecureSkipVerify: true,})
|
||||
app.Use(proxy.Balancer(proxy.Config{ Servers: []string{ config.Conf.Proxy } , }))
|
||||
log.Printf('Using proxy: "%s"', config.Conf.Proxy)
|
||||
log.Printf("Using proxy: %s", config.Conf.Proxy)
|
||||
}
|
||||
|
||||
routes.RegisterRoutes(app)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user