diff --git a/.well-known/README.md b/.well-known/README.md index ec4c7f57e8..6346c85a76 100644 --- a/.well-known/README.md +++ b/.well-known/README.md @@ -12,4 +12,6 @@ File `assetlinks.json` includes certificate hashes for: ## iOS -`apple-app-site-association` currently does not work, as it needs to be served with `Content-type: application/json; charset=utf-8` and GitHub pages do not support adding this header to files without JSON extension. +`apple-app-site-association` needs to be served with `Content-type: application/json; charset=utf-8` and GitHub pages do not support adding this header to files without JSON extension. + +To workaround this (thanks to [StackOverflow - Serve json data from github pages](https://stackoverflow.com/questions/39199042/serve-json-data-from-github-pages)) we're creating directory named `apple-app-site-association` with `index.json` file that contains all the necessary configs. \ No newline at end of file diff --git a/.well-known/README/index.html b/.well-known/README/index.html index 65b5418923..a010fd422b 100644 --- a/.well-known/README/index.html +++ b/.well-known/README/index.html @@ -8,4 +8,5 @@
  • F-Droid (AE:C1:95:DC:FD:46:14:BD:3A:91:EC:26:D1:D5:14:C8:75:71:C5:CC:8D:CF:48:08:3F:92:83:14:3C:A2:B9:A6)
  • iOS

    -

    apple-app-site-association currently does not work, as it needs to be served with Content-type: application/json; charset=utf-8 and GitHub pages do not support adding this header to files without JSON extension.

    +

    apple-app-site-association needs to be served with Content-type: application/json; charset=utf-8 and GitHub pages do not support adding this header to files without JSON extension.

    +

    To workaround this (thanks to StackOverflow - Serve json data from github pages) we're creating directory named apple-app-site-association with index.json file that contains all the necessary configs.

    diff --git a/.well-known/apple-app-site-association b/.well-known/apple-app-site-association/index.json similarity index 100% rename from .well-known/apple-app-site-association rename to .well-known/apple-app-site-association/index.json