2023-04-03 13:39:51 +02:00
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
|
const nextConfig = {
|
|
|
|
|
reactStrictMode: true, // Recommended for the `pages` directory, default in `app`.
|
|
|
|
|
swcMinify: true,
|
|
|
|
|
experimental: {
|
2023-05-17 13:46:44 +02:00
|
|
|
serverActions: true,
|
2023-04-03 13:39:51 +02:00
|
|
|
},
|
|
|
|
|
images: {
|
|
|
|
|
remotePatterns: [
|
2023-05-23 10:12:19 +02:00
|
|
|
{
|
|
|
|
|
protocol: "https",
|
2023-06-16 01:36:19 +02:00
|
|
|
hostname: process.env.ZITADEL_API_URL?.replace("https://", "") || "",
|
2023-05-23 10:12:19 +02:00
|
|
|
port: "",
|
|
|
|
|
pathname: "/**",
|
|
|
|
|
},
|
2023-05-25 08:40:53 +02:00
|
|
|
{
|
|
|
|
|
protocol: "http",
|
|
|
|
|
hostname: "localhost",
|
|
|
|
|
port: "8080",
|
|
|
|
|
pathname: "/**",
|
|
|
|
|
},
|
2023-04-03 13:39:51 +02:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
module.exports = nextConfig;
|