Strapi - Build a Blog Using Strapi and Next.js

Also change it in next.config.js

    loader: "default",
    domains: ["127.0.0.1"],

Please note this about the Link next/link <Link>
Add the legacyBehavior prop <Link legacyBehavior><a id="link">Home</a></Link>
Ref: invalid-new-link-with-extra-anchor | Next.js