Trying to set up a Progressive web app with phoenix and having trouble with the manifest json file in production. All other static asset files work in production. I have added the manifest json file to the endpoint.ex in the static plug
plug Plug.Static, at: "/", from: :jroo, gzip: true, only: ~w(css fonts images js favicon.ico robots.txt manifest.json)
my manifest json file is in assets > static > manifest.json and it all works locally. I deploy all mix commands with MIX_ENV=production. if I do https://my_host/manifest.json on production. the file is served and I can see its contents. However, when I link to static_path(@conn, “/manifest.json”) in the HTML the network tab in the browser shows 404 for /manifest-16d6ca669c7546ffe8f0fa910c7b3f6d.json?vsn=d. Not sure where I am going wrong.