Skip to content

Commit

Permalink
Merge pull request #4 from ice-blockchain/ion-sync-upstream
Browse files Browse the repository at this point in the history
Use .ion in rldp proxy
  • Loading branch information
ice-charon authored Sep 19, 2024
2 parents 2366e24 + ee5eb74 commit 02a1836
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ion-ccpcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
generate report: true

- name: Upload report
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: ion-ccpcheck-report
path: output
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 02a1836

Please sign in to comment.