diff --git a/public/apple-app-site-association.json b/public/apple-app-site-association.json index 3f4d9b7..792d12a 100644 --- a/public/apple-app-site-association.json +++ b/public/apple-app-site-association.json @@ -26,6 +26,8 @@ "NOT /iphone", "NOT /ipad", "NOT /ipod", + "NOT /news", + "NOT /matrix", "*" ] }, @@ -53,6 +55,8 @@ "NOT /iphone", "NOT /ipad", "NOT /ipod", + "NOT /news", + "NOT /matrix", "*" ] }, @@ -80,6 +84,8 @@ "NOT /iphone", "NOT /ipad", "NOT /ipod", + "NOT /news", + "NOT /matrix", "*" ] } diff --git a/src/index.ts b/src/index.ts index f0dfa46..059af78 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,9 +21,6 @@ const OMAPS_REWRITE_RULES: Record = { '/get': '/get.html', '/im_get': '/get.html', '/install': '/get.html', - '/news': 'https://organicmaps.app/news', - '/test': '/test.html', - '/test/': '/test.html', '/f': FDROID, '/fd': FDROID, '/fdroid': FDROID, @@ -39,6 +36,10 @@ const OMAPS_REWRITE_RULES: Record = { '/iphone': APPSTORE, '/ipad': APPSTORE, '/ipod': APPSTORE, + '/matrix': 'https://matrix.to/#/#organicmaps:matrix.org', + '/news': 'https://organicmaps.app/news', + '/test': '/test.html', + '/test/': '/test.html', }; addEventListener('fetch', (event) => {