Cant link to files in public folder - Ruby on rails

In my ruby on rails project I can’t link to files in public folder. When go to those files, server redirects to root of domain(www.example.com).

Rails: 5
ruby: 2.4 puma

In my ruby on rails app I uploaded a file .well-known/assetlinks.json . But I can’t go to www.monsoonmalabar.com/.well-known/assetlinks.json . It redirects to root domain. In fact I can’t link to any of my file in public folder. I am not experianced coder in ruby. My domain www.monsoonmalabar.com and monsoonmalabar.com are different website.