Update index.ts

This commit is contained in:
Roman Tsisyk 2021-06-21 15:11:33 +03:00 committed by GitHub
parent afca07f58e
commit 44b966be38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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