mirror of
https://github.com/telanflow/mps.git
synced 2025-12-24 11:30:55 +08:00
[fixed] examples/mitm-proxy
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user