Temporary disable ca1 for maintaince

This commit is contained in:
Roman Tsisyk 2021-06-27 09:16:43 +03:00 committed by GitHub
parent 2a71f0fd2e
commit c197b73c8f
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-ca1.organicmaps.app/', 'https://cdn.organicmaps.app/'];
const SERVERS = ['https://cdn-eu1.organicmaps.app/', 'https://cdn-eu2.organicmaps.app/', 'https://cdn.organicmaps.app/'];
addEventListener('fetch', (event) => {
event.respondWith(handleRequest(event.request).catch((err) => new Response(err.stack, { status: 500 })));