mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-20 08:42:06 +00:00
update regions again
This commit is contained in:
parent
82f87f2745
commit
c47aec2c5c
2 changed files with 8 additions and 8 deletions
|
|
@ -7,11 +7,11 @@ export function RegionSelectorPart() {
|
|||
const { region, setRegion } = useRegionStore();
|
||||
|
||||
const regionOptions = [
|
||||
{ id: "us-east", name: "US East" },
|
||||
{ id: "us-west", name: "US West" },
|
||||
{ id: "south", name: "US Middle" },
|
||||
{ id: "asia", name: "Asia Pacific" },
|
||||
{ id: "europe", name: "Europe Central" },
|
||||
{ id: "us-east", name: "US East (Ohio)" },
|
||||
{ id: "us-west", name: "US West (California)" },
|
||||
{ id: "south", name: "South America (São Paulo)" },
|
||||
{ id: "asia", name: "Asia Pacific (Sydney)" },
|
||||
{ id: "europe", name: "Europe Central (London)" },
|
||||
];
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -27,17 +27,17 @@ export const useRegionStore = create<RegionStore>()(
|
|||
}),
|
||||
{
|
||||
name: "__MW::region",
|
||||
version: 3,
|
||||
version: 4,
|
||||
},
|
||||
),
|
||||
);
|
||||
|
||||
// Coordinates for each proxy server region
|
||||
const regionCoordinates = [
|
||||
{ region: "us-east" as Region, lat: 39.9612, lon: -82.9988 }, // Ohio, US
|
||||
{ region: "us-east" as Region, lat: 40.4173, lon: -82.9071 }, // Ohio, US
|
||||
{ region: "us-west" as Region, lat: 37.7749, lon: -122.4194 }, // California, US
|
||||
{ region: "south" as Region, lat: -23.5505, lon: -46.6333 }, // São Paulo, BR
|
||||
{ region: "asia" as Region, lat: 1.3521, lon: 103.8198 }, // Singapore
|
||||
{ region: "asia" as Region, lat: -33.8688, lon: 151.2093 }, // Sydney, Australia
|
||||
{ region: "europe" as Region, lat: 51.5074, lon: -0.1278 }, // London, UK
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue