@@ -38,7 +38,7 @@ fn main() -> eframe::Result<()> {
3838 // with their saved log level. Otherwise the form's log-level combobox
3939 // would only ever take effect via env var or after Save → restart, and
4040 // users on the UI binary (issue #401) reasonably expect the saved
41- // config.json `log_level` to apply at boot like it does for the CLI.
41+ // config.toml `log_level` to apply at boot like it does for the CLI.
4242 let ( form, load_err) = load_form ( ) ;
4343 let initial_toast = load_err. map ( |e| ( e, Instant :: now ( ) ) ) ;
4444
@@ -252,36 +252,36 @@ struct FormState {
252252 normalize_x_graphql : bool ,
253253 youtube_via_relay : bool ,
254254 passthrough_hosts : Vec < String > ,
255- /// Round-tripped from config.json so the UI's save path doesn't
255+ /// Round-tripped from config.toml so the UI's save path doesn't
256256 /// drop the user's setting. Not currently exposed as a UI control;
257- /// users edit `block_quic` directly in `config.json ` (Issue #213).
257+ /// users edit `block_quic` directly in `config.toml ` (Issue #213).
258258 block_quic : bool ,
259- /// Round-tripped from config.json and exposed beside QUIC blocking.
259+ /// Round-tripped from config.toml and exposed beside QUIC blocking.
260260 /// Default true to push WebRTC apps toward TCP TURN instead of slow
261261 /// UDP ICE retries.
262262 block_stun : bool ,
263- /// Round-tripped from config.json . Not exposed as a UI control —
263+ /// Round-tripped from config.toml . Not exposed as a UI control —
264264 /// users edit `disable_padding` directly when needed (Issue #391).
265265 /// Default false (padding active).
266266 disable_padding : bool ,
267- /// Round-tripped from config.json . Not exposed as a UI control —
267+ /// Round-tripped from config.toml . Not exposed as a UI control —
268268 /// users edit `force_http1` directly when needed. Default false
269269 /// (HTTP/2 multiplexing on the relay leg active).
270270 force_http1 : bool ,
271- /// Round-tripped from config.json . Not exposed in the UI form yet —
271+ /// Round-tripped from config.toml . Not exposed in the UI form yet —
272272 /// the bypass-DoH default is the right answer for almost everyone
273273 /// (DoH already encrypts, the tunnel was just adding latency), so
274274 /// this is a config-only opt-out. See config.rs `tunnel_doh`.
275275 tunnel_doh : bool ,
276276 /// User-supplied DoH hostnames added to the built-in default list,
277- /// round-tripped from config.json . See config.rs `bypass_doh_hosts`.
277+ /// round-tripped from config.toml . See config.rs `bypass_doh_hosts`.
278278 bypass_doh_hosts : Vec < String > ,
279279 /// PR #763: when true, immediately reject browser DoH CONNECTs so the
280280 /// browser falls back to system DNS (tun2proxy virtual DNS — instant).
281- /// Round-tripped from config.json . Desktop UI doesn't expose a toggle
281+ /// Round-tripped from config.toml . Desktop UI doesn't expose a toggle
282282 /// yet — Android does. See config.rs `block_doh`.
283283 block_doh : bool ,
284- /// Multi-edge fronting groups. Round-tripped from config.json so
284+ /// Multi-edge fronting groups. Round-tripped from config.toml so
285285 /// the UI's Save doesn't drop the user's hand-edited groups —
286286 /// there is no UI editor for these yet, only file-edited config.
287287 /// See config.rs `fronting_groups`.
@@ -598,7 +598,7 @@ impl FormState {
598598 // tun2proxy's virtual DNS handles name lookups, saving the
599599 // ~1.5s tunnel round-trip per DNS query). Desktop UI doesn't
600600 // expose a toggle yet (Android does), so this is a config-only
601- // round-trip — we keep whatever the user has in config.json .
601+ // round-trip — we keep whatever the user has in config.toml .
602602 block_doh : self . block_doh ,
603603 // Multi-edge fronting groups: file-edited only for now,
604604 // round-tripped through the UI so Save doesn't drop them.
@@ -1082,7 +1082,7 @@ impl eframe::App for App {
10821082 // text field — typing `0.0.0.0` from memory is enough of
10831083 // a friction point that almost no one does it. Power
10841084 // users with a custom bind IP (specific NIC) can still
1085- // edit `listen_host` directly in `config.json `; we
1085+ // edit `listen_host` directly in `config.toml `; we
10861086 // detect that case and show a "Custom bind" badge so
10871087 // the checkbox doesn't silently overwrite their setting
10881088 // on the next Save.
@@ -1112,7 +1112,7 @@ impl eframe::App for App {
11121112 if is_custom_bind {
11131113 // The user manually wrote a specific bind IP —
11141114 // don't let the checkbox stomp on it. Show what
1115- // they have and tell them to edit config.json
1115+ // they have and tell them to edit config.toml
11161116 // if they want to change it.
11171117 ui. vertical ( |ui| {
11181118 ui. label ( egui:: RichText :: new ( format ! (
0 commit comments