Add merge command

This commit is contained in:
世界
2023-09-19 19:59:07 +08:00
parent a9743b77f6
commit e7b7ae811f
10 changed files with 198 additions and 16 deletions

View File

@@ -32,7 +32,7 @@ func newV2RayPlugin(ctx context.Context, pluginOpts Args, router adapter.Router,
certHead := "-----BEGIN CERTIFICATE-----"
certTail := "-----END CERTIFICATE-----"
fixedCert := certHead + "\n" + certRaw + "\n" + certTail
tlsOptions.Certificate = fixedCert
tlsOptions.Certificate = []string{fixedCert}
}
mode := "websocket"