Issue: Image Not Displaying in Next.js with Firebase

When deploying the project to Firebase, an issue arises where the website displays ‘an image not found.

So we just updated the next.config.mjs

/** @type {import('next').NextConfig} */

const nextConfig = {

    output: "export", // (optional) Set your desired output configuration

    images: {

      unoptimized: true,

      domains: ['localhost','https://workorder-app.web.app/'],

    },

  };


export default nextConfig;

Leave a comment

Your email address will not be published. Required fields are marked *