Cannot serve static JSON file

I am trying to host a static JSON file at https://irdi-app.netlify.app/.well-known/assetlinks.json (https://irdi-app.netlify.app/.well-known/assetlinks.json) but this doesn’t work, and I get redirected to root because of my redirect rules. Please help.

hi there @d4mr - what are your redirect rules? we should investigate that first.

I found the issue. Hidden files removed in zip deploy - #3 by kevincox
Because the directory name starts with a period, the directory is not included,

I solved it with the same solutions as here: Hidden files removed in zip deploy - #3 by kevincox by creating a redirect rule from the hidden directory to a non hidden location

1 Like