Skip to content

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

Description

@tabdon

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions