diff --git a/conduwuit-example.toml b/conduwuit-example.toml index 1f7398d2..13412d45 100644 --- a/conduwuit-example.toml +++ b/conduwuit-example.toml @@ -1325,7 +1325,7 @@ # sender user's server name, inbound federation X-Matrix origin, and # outbound federation handler. # -# You can set this to ["*"] to block all servers by default, and then +# You can set this to [".*"] to block all servers by default, and then # use `allowed_remote_server_names` to allow only specific servers. # # example: ["badserver\\.tld$", "badphrase", "19dollarfortnitecards"] diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index 0ad6fbb6..e3f88a21 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -1525,7 +1525,7 @@ pub struct Config { /// sender user's server name, inbound federation X-Matrix origin, and /// outbound federation handler. /// - /// You can set this to ["*"] to block all servers by default, and then + /// You can set this to [".*"] to block all servers by default, and then /// use `allowed_remote_server_names` to allow only specific servers. /// /// example: ["badserver\\.tld$", "badphrase", "19dollarfortnitecards"]