Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
};

module.exports = {
images: {
remotePatterns: [new URL("https://github.com/CodeStorm-Hub.png")],
Copy link

Copilot AI Sep 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The remotePatterns configuration is incorrect. It should be an array of objects with protocol, hostname, and pathname properties, not a URL object. This will cause runtime errors when trying to load remote images.

Suggested change
remotePatterns: [new URL("https://github.com/CodeStorm-Hub.png")],
remotePatterns: [
{
protocol: 'https',
hostname: 'github.com',
pathname: '/CodeStorm-Hub.png',
},
],

Copilot uses AI. Check for mistakes.
},
};
Comment on lines 5 to +10
Copy link

Copilot AI Sep 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are conflicting export patterns. The file defines nextConfig with ES6 export but also uses module.exports. The module.exports configuration will be ignored since export default nextConfig takes precedence. Either merge the configurations or choose one export pattern.

Copilot uses AI. Check for mistakes.
export default nextConfig;
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading