mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 05:12:20 +00:00
27 lines
572 B
JavaScript
Executable File
27 lines
572 B
JavaScript
Executable File
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true, // Recommended for the `pages` directory, default in `app`.
|
|
swcMinify: true,
|
|
experimental: {
|
|
serverActions: true,
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: process.env.ZITADEL_API_URL.replace("https://", ""),
|
|
port: "",
|
|
pathname: "/**",
|
|
},
|
|
{
|
|
protocol: "http",
|
|
hostname: "localhost",
|
|
port: "8080",
|
|
pathname: "/**",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|