wip: debug

This commit is contained in:
Kevin Franklin Kim 2024-11-20 16:17:42 +01:00
parent deadd984ad
commit 84f5a2f76b
No known key found for this signature in database

View File

@ -32,7 +32,9 @@ func WithTagging(endpoint string) Option {
if err != nil {
return err
}
c.l.Info("--->" + endpoint)
proxy := httputil.NewSingleHostReverseProxy(target)
proxy.ErrorLog = zap.NewStdLog(c.l)
c.taggingProxy = proxy
return nil
}