Files
opengifame/next.config.js
2024-09-20 16:27:36 +01:00

36 lines
752 B
JavaScript

/**
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
*/
await import("./src/env.js");
/** @type {import("next").NextConfig} */
const config = {
images: {
remotePatterns: [
{
hostname: "avatars.githubusercontent.com",
},
{
hostname: "opengifame.dev.fergl.ie",
},
{
hostname: "cloudflare-ipfs.com",
},
{
hostname: "localhost",
},
],
},
// async rewrites() {
// return [
// {
// source: "/i/:path*",
// destination: "https://your-custom-image-location.com/:path*", // Replace with your custom location
// },
// ];
// },
};
export default config;