Hi! i am facing an issue where i have to hard refresh (shift + refresh) so netlify serve the assetlink.json file instead of the homepage.
https://visionlatinapanama.com/.well-known/assetlinks.json
I already have a netlify.toml deployed
[[redirects]]
from = "/.well-known/assetlinks.json"
to = "/well-known/assetlinks.json"
status = 200
[redirects.headers]
cache-control = "no-store"
[[headers]]
for = "/well-known/assetlinks.json"
[headers.values]
Content-Type = "application/manifest+json"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/manifest.webmanifest"
[headers.values]
Content-Type = "application/manifest+json"
[[headers]]
for = "/assets/*"
[headers.values]
cache-control = '''
max-age=31536000,
immutable
'''
type or paste code here
i took ideas from varius already existing threads and as i said. It kinda works but only if i enter to that route and shift refresh, only then the file will be served correctly
----- other details
is a PWA created with Vue3 and vite. i already bubble wrapped it and test it with lighthouse