From f9e6f022c89604c2dac87d0ddd0831f8337fcdc3 Mon Sep 17 00:00:00 2001 From: problematicconsumer Date: Mon, 4 Mar 2024 15:58:04 +0330 Subject: [PATCH] Fix json keys --- config/option.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/option.go b/config/option.go index 5a8f4d5..39d0d0d 100644 --- a/config/option.go +++ b/config/option.go @@ -74,13 +74,13 @@ type MuxOptions struct { type WarpOptions struct { EnableWarp bool `json:"enable"` Mode string `json:"mode"` - WireguardConfigStr string `json:"wireguardConfig"` - WireguardConfig WarpWireguardConfig `json:"wireguard-config"` - FakePackets string `json:"warpNoise"` + WireguardConfigStr string `json:"wireguard-config"` + WireguardConfig WarpWireguardConfig `json:"wireguardConfig"` // TODO check + FakePackets string `json:"noise"` FakePacketSize string `json:"fake-packet-size"` - FakePacketDelay string `json:"warpNoiseDelay"` - CleanIP string `json:"cleanIp"` - CleanPort uint16 `json:"cleanPort"` + FakePacketDelay string `json:"noise-delay"` + CleanIP string `json:"clean-ip"` + CleanPort uint16 `json:"clean-port"` Account WarpAccount }