Add cdn-ca1.organicmaps.app

This commit is contained in:
Roman Tsisyk 2021-06-21 18:19:04 +03:00 committed by GitHub
parent a8f17446bf
commit 2a71f0fd2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
export {};
const SERVERS = ['https://cdn-eu1.organicmaps.app/', 'https://cdn-eu2.organicmaps.app/', 'https://cdn.organicmaps.app/'];
const SERVERS = ['https://cdn-eu1.organicmaps.app/', 'https://cdn-eu2.organicmaps.app/', 'https://cdn-ca1.organicmaps.app/', 'https://cdn.organicmaps.app/'];
addEventListener('fetch', (event) => {
event.respondWith(handleRequest(event.request).catch((err) => new Response(err.stack, { status: 500 })));