matrix-org / matrix.to

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

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

Closed pixlwave closed 1 month ago

pixlwave commented 1 month 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"
          }
        ]
      }
    ]
  }
}