Skip to content

Commit

Permalink
Replaced us2 with us3
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Borsuk <[email protected]>
  • Loading branch information
biodranik committed Aug 22, 2024
1 parent fe6e1d8 commit 0fdfb8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/servers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ export const SERVER = {
url: 'https://cdn-de3.organicmaps.app/',
dataVersions: [240613, 240702, 240723, 240810],
},
us2: {
// Hetzner Cloud (Asburn, US East), 20TB/mo
url: 'https://cdn-us2.organicmaps.app/',
us3: {
// Hetzner Cloud (Hillsdate, US West), 20TB/mo
url: 'https://cdn-us3.organicmaps.app/',
dataVersions: [240723, 240810],
},
};
Expand All @@ -86,7 +86,7 @@ export async function getServersList(request: Request) {
case 'NA': // North America
case 'SA': // South America
case 'OC': // Oceania
servers = [SERVER.backblaze, SERVER.us2, SERVER.uk1, SERVER.nl1, SERVER.planet].filter((server) =>
servers = [SERVER.backblaze, SERVER.us3, SERVER.uk1, SERVER.nl1, SERVER.planet].filter((server) =>
server.dataVersions.includes(dataVersion),
);
break;
Expand Down

0 comments on commit 0fdfb8a

Please sign in to comment.