mirror of
https://github.com/Ategon/Jamjar.git
synced 2025-02-12 06:16:21 +00:00
22 lines
415 B
TypeScript
22 lines
415 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "**",
|
|
},
|
|
...(process.env.NEXT_PUBLIC_MODE === "DEV"
|
|
? [
|
|
{
|
|
protocol: "http" as "http",
|
|
hostname: "localhost",
|
|
},
|
|
]
|
|
: []),
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|