Files were not uploaded into KV assets due to Cloudflare limitations
This commit is contained in:
parent
c8b37e0297
commit
1f5ece798c
5 changed files with 6 additions and 1 deletions
|
@ -45,6 +45,7 @@ Deploy to prod manually using `npx wrangler publish --env omaps` or this
|
|||
|
||||
## Known issues
|
||||
|
||||
- Hidden directories and symlinks in worker site assets are ignored by wrangler.
|
||||
- Cloudflare's free Flexible SSL certificates does not support 4-th level
|
||||
subdomains like a.b.example.com, so you can see strange SSL errors.
|
||||
- HTTPS `fetch` requests from Workers are converted to HTTP ones if the target
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
./.well-known/apple-app-site-association
|
|
@ -8,6 +8,11 @@ const GOOGLE = 'https://play.google.com/store/apps/details?id=app.organicmaps';
|
|||
const HUAWEI = 'https://appgallery.huawei.com/#/app/C104325611';
|
||||
const FDROID = 'https://f-droid.org/en/packages/app.organicmaps/';
|
||||
const OMAPS_REWRITE_RULES: Record<string, string> = {
|
||||
// Hidden files and symlinks are not uploaded by wrangler.
|
||||
// See https://developers.cloudflare.com/workers/cli-wrangler/configuration#default-ignored-entries
|
||||
'/apple-app-site-association': '/apple-app-site-association.json',
|
||||
'/.well-known/apple-app-site-association': '/apple-app-site-association.json',
|
||||
'/.well-known/assetlinks.json': '/assetlinks.json',
|
||||
'/': '/get.html',
|
||||
'/app': '/get.html',
|
||||
'/get': '/get.html',
|
||||
|
|
Loading…
Add table
Reference in a new issue