Whitelist localhost for images

This commit is contained in:
Liam 2022-11-14 00:08:16 +00:00
parent 162235a1d3
commit ad0ccd9991

@ -1,6 +1,17 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
}
reactStrictMode: true,
module.exports = nextConfig
images: {
remotePatterns: [
{
protocol: "http",
hostname: "localhost",
port: "3000",
pathname: "/api/files/**",
},
],
},
};
module.exports = nextConfig;