Skip to content

Commit

Permalink
Don't use cdn-us1 (Cloudflare + Backbaze) for the actual versions
Browse files Browse the repository at this point in the history
Cloudflare almost always have lowest ping, leaving no chance to
other servers to server data for iOS users. Viktor reported some
issues with Cloudflare from Argentina. "Let's see if us-west1 +
us-east1 + uk1 + nl1 servers can handle America and Oceania.
  • Loading branch information
rtsisyk committed Oct 5, 2024
1 parent b8200aa commit 0cb3ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/servers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ export async function getServersList(request: Request) {
case 'NA': // North America
case 'SA': // South America
case 'OC': // Oceania
servers = [SERVER.backblaze, SERVER.us_east1, SERVER.us_west1, SERVER.uk1, SERVER.nl1, SERVER.planet].filter(
(server) => DATA_VERSIONS.slice(-server.dataVersions).includes(dataVersion),
servers = [SERVER.us_east1, SERVER.us_west1, SERVER.uk1, SERVER.nl1, SERVER.planet].filter((server) =>
DATA_VERSIONS.slice(-server.dataVersions).includes(dataVersion),
);
break;
default:
Expand Down

0 comments on commit 0cb3ff3

Please sign in to comment.