How to disbale Basic-Auth for a single asset file?

Hello,

We have enabled Basic-Auth for one of our deployment context.

But we need to disable the authentication for one of our static assets. Here is a snippet from netlify.toml for our static asset.

[[headers]]
  for = "/.well-known/assetlinks.json"
  [headers.values]
    Content-Type = "application/json"

Is there a way to achieve this by providing a header in the configuration?

Any help would be appreciated.

Thank you
Joel

Hi @joelr-cm,

If you add a header rule for the entire site like /*, that rule will cause any other rule to be ignored. So, the above configuration would not work.