mirror of
https://github.com/tormachris/cf-workers-status-page.git
synced 2025-08-03 19:25:15 +02:00
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 ```
This commit is contained in:

committed by
Adam Janiš

parent
a8cfe25c9a
commit
f0b27a8446
@ -1,4 +1,4 @@
|
||||
import { locations } from '../functions/helpers'
|
||||
import { locations } from '../functions/locations'
|
||||
|
||||
export default function MonitorDayAverage({ location, avg }) {
|
||||
return (
|
||||
|
@ -1,5 +1,5 @@
|
||||
import config from '../../config.yaml'
|
||||
import { locations } from '../functions/helpers'
|
||||
import { locations } from '../functions/locations'
|
||||
|
||||
const classes = {
|
||||
green:
|
||||
|
Reference in New Issue
Block a user