Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tabdon opened this issue Jun 24, 2023 · 0 comments
Open

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

tabdon opened this issue Jun 24, 2023 · 0 comments

Comments

@tabdon
Copy link

tabdon commented Jun 24, 2023

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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant