Universal link redirection not working.

Implemented deep linking using Universal link by hosting a AASA file in the .well-known/ folder and at first it was working as expected. But later the content type of the file unexpectedly changed to binary/octet-stream and then it stopped working. So the content-type of the file is changed back to application/json. Still it is not working when the link is clicked it is opening the different browser options instead of redirecting to the app.

Check with the curl -v link url, 200 ok response, content-type : application/json. Click on hitting the link in browser is downloading the JSON file without any redirection.

Please help me.