Update next.config.mjs

This commit is contained in:
sirin 2024-10-09 14:24:25 +07:00
parent 96a7be3987
commit 80389a4f33

View File

@ -1,19 +1,19 @@
const SUPABASE_URL = process.env.NEXT_PUBLIC_SUPABASE_URL_SOURCE;
const nextConfig = {
reactStrictMode: true, // From the second config
reactStrictMode: true,
images: {
remotePatterns: [
{
protocol: "https",
hostname: SUPABASE_URL,
port: "",
pathname: "/storage/v1/object/sign/**", // From the second config
pathname: "/storage/v1/object/sign/**",
},
{
protocol: "https",
hostname: "upload.wikimedia.org",
pathname: "/wikipedia/**", // From the first config
pathname: "/wikipedia/**",
},
],
},