Jerga99 / next-firebase-image-upload

1 stars 0 forks source link

Next.js `Image` does not display the firebase photos #1

Open nidegen opened 3 months ago

nidegen commented 3 months ago

First of all thanks for your example!

When I run it on my side I cannot display images though. I think it is Next.js that does some caching and runs into CORS issues. I can disable caching, but was wondering if you knew why it works for you.

See my code running here: https://echo-photos-app-dev.web.app/

nidegen commented 3 months ago

BTW, it is fixed when adding

            unoptimized
            loader={({ src }) => src}

but I was wondering why it works in your example. It works for me locally too, but not when deployed I think..