From 315584357140fb70c0a8d98f6c4f37b8d6938742 Mon Sep 17 00:00:00 2001 From: epoberezkin Date: Fri, 8 Sep 2023 10:46:54 +0000 Subject: [PATCH] deploy: 45682aa7ced97b3e9ac87f4c8d6f998181b26b1f --- .well-known/README.md | 4 +++- .well-known/README/index.html | 3 ++- .../index.json} | 0 3 files changed, 5 insertions(+), 2 deletions(-) rename .well-known/{apple-app-site-association => apple-app-site-association/index.json} (100%) 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