I want to create a link inside my nextjs application that when clicked opens up the file. I want to create a json file at my.domain.com/.well-known/file.json
.
I have created the folder in public directory and done this structure same as but I am getting 404 | Page Not Found
error when I open the link for file.
My environment:
NextJs - 14.0.4
Npm - 10.2.4
Node - v21.5.0
This link is required for enabling deep links in our application.