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 Sep 25, 2024
1 parent ecc91e7 commit b584dd8
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 @@ -129,8 +129,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 b584dd8

Please sign in to comment.