Skip to content

Commit

Permalink
Use .ion in rldp proxy
Browse files Browse the repository at this point in the history
Signed-off-by: ice-charon <[email protected]>
  • Loading branch information
ice-charon committed Sep 16, 2024
1 parent 809f036 commit 4e07353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rldp-http-proxy/rldp-http-proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ class RldpHttpProxy : public td::actor::Actor {
}
std::transform(host.begin(), host.end(), host.begin(), [](unsigned char c) { return std::tolower(c); });
bool allow = proxy_all_;
for (const char *suffix : {".adnl", ".ton", ".bag"}) {
for (const char *suffix : {".adnl", ".ion", ".bag"}) {
if (td::ends_with(host, td::Slice(suffix))) {
allow = true;
}
Expand Down

0 comments on commit 4e07353

Please sign in to comment.