[fixed] examples/mitm-proxy

This commit is contained in:
telanflow
2020-08-27 13:41:32 +08:00
parent fd685bc16f
commit d73d5ce4c7

View File

@@ -20,7 +20,7 @@ func main() {
// Load cert file
// The Connect request is processed using MitmHandler
mitmHandler, err := mps.NewMitmHandlerWithCertFile(proxy.Ctx, "ca.crt", "ca.key")
mitmHandler, err := mps.NewMitmHandlerWithCertFile(proxy.Ctx, "./examples/mitm-proxy/ca.crt", "./examples/mitm-proxy/ca.key")
if err != nil {
log.Panic(err)
}