token-drop icon indicating copy to clipboard operation
token-drop copied to clipboard

Add the right domain in next the next.config.js file

Open tabdon opened this issue 2 years ago • 0 comments

Hello!

I just started a project based on this template. I ran yarn dev and the claim token page opened. When I clicked in the input box I get this error:

Screenshot 2023-06-24 at 9 21 04 AM

To fix it, I had to add the ipfs-2.thirdwebcdn.com domain to the next.config.js file as so:

/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  images: {
    domains: ["gateway.ipfscdn.io", "ipfs-2.thirdwebcdn.com"],
  },
};

module.exports = nextConfig;

tabdon avatar Jun 24 '23 16:06 tabdon