mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2026-11-24 09:54:22 +00:00
Update api.go
This commit is contained in:
1 parent
f2b44c6050
commit
07949db7d5
1 file changed
+1
-1
+1
-1
@@ -35,7 +35,7 @@ func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine
|
||||
}))
|
||||
|
||||
if config.Conf.Proxy != "" {
|
||||
proxy.WithTlsConfig(&tls.Config{ InsecureSkipVerify: false,})
|
||||
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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user