|
f0b27a8446
|
Add more data centre locations
The full list of locations was generated from the [Cloudflare Status Page](https://www.cloudflarestatus.com/):
```bash
{
echo 'export const locations = {';
curl -ks https://www.cloudflarestatus.com/ | grep -- '- (' | while read line; do
code=$(awk -F '[()]' '{print $2}' <<< "$line");
city=$(awk -F '[,-]' '{print $1}' <<< "$line");
echo " $code: '${city//\'/’}',";
done | sort;
echo '}';
} > src/functions/locations.js
```
|
2021-10-11 14:13:49 +01:00 |
|