From ad462f3d8e05421c30b0937bacac3c1b49bbd258 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Wed, 4 Oct 2023 14:03:29 +0300 Subject: [PATCH] Fix apple-app-site-assoctiation `no_universal_link` query matching. https://developer.apple.com/videos/play/wwdc2019/717/ ``` You'll notice that I specify a question mark and an asterisk as the pattern from the query items value. A pattern consisting of a single asterisk matches any string, including the empty string. And a missing query item has a value equivalent to the empty string. So to match against the string that's at least one character long, I specify a question mark and then any additional characters are matched by the asterisk. ``` --- public/apple-app-site-association | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/apple-app-site-association b/public/apple-app-site-association index d0ee479a..088a1a04 100644 --- a/public/apple-app-site-association +++ b/public/apple-app-site-association @@ -10,7 +10,7 @@ "components": [ { "?": { - "no_universal_links": "*" + "no_universal_links": "?*" }, "exclude": true, "comment": "Opt out of universal links"