Update api.go

This commit is contained in:
mycodedoesnotcompile2 authored and GitHub committed 2025-12-13 12:00:48 +00:00
1 parent 3e95bb581e
commit 7d6e0c0aa8
1 file changed
+2
+2
View File
@@ -34,6 +34,7 @@ func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine
Browse: config.Conf.Env == "dev",
}))
/*
if config.Conf.Proxy != "" {
proxy.WithTlsConfig(&tls.Config{ InsecureSkipVerify: true,})
app.Use(proxy.Balancer(proxy.Config{
@@ -58,6 +59,7 @@ func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine
}))
log.Printf("Using proxy: %s", config.Conf.Proxy)
}
*/
routes.RegisterRoutes(app)