matrix-org / matrix.to

A simple stateless privacy-protecting URL redirecting service for Matrix
http://matrix.to
Apache License 2.0
961 stars 207 forks source link

Fix the apple-app-site-association file. #339

Closed pixlwave closed 6 months ago

pixlwave commented 6 months ago

It seems the file had an error where details was a single object instead of an array of objects. This PR fixes it to match the documentation: https://developer.apple.com/documentation/bundleresources/applinks

Generated file:

{
  "applinks": {
    "details": [
      {
        "appIDs": [
          "7J4U792NQT.im.vector.app",
          "7J4U792NQT.io.element.elementx",
          "7J4U792NQT.io.element.elementx.nightly",
          "7J4U792NQT.io.element.elementx.pr"
        ],
        "components": [
          {
            "#": "/*",
            "comment": "Only open urls with a fragment, so you can still create links"
          }
        ]
      }
    ]
  }
}