'Not all Universal Links matching apple-app-site-association

I am working on setting up universal links and everything seems to be work accept for a few cases. This is what I have in my apple-app-site-association

{"applinks":{"details":
[{"paths":["/*"],
"appID":"48WVD6333Y.com.example.myapp"}]
,"apps":[]
}
}

This would seem to match

https://www.mywebsite.com/foo

but not

https://www.mywebsite.com/foo/

Shouldn't it match everything after the first "/"?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source