Skip to content

Commit

Permalink
next: migrate to remotePatterns
Browse files Browse the repository at this point in the history
  • Loading branch information
makinbacon21 committed Nov 23, 2024
1 parent 44da27e commit bbbf51f
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,22 @@ const withSerwist = withSerwistInit({
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
domains: ["www.swarthmore.edu", "cdn.vectorstock.com"],
remotePatterns: [
{
protocol: "https",
hostname: "www.swarthmore.edu",
port: "",
pathname: "/**",
search: "",
},
{
protocol: "https",
hostname: "cdn.vectorstock.com",
port: "",
pathname: "/**",
search: "",
},
],
},
};

Expand Down

0 comments on commit bbbf51f

Please sign in to comment.