Files
storycove/frontend/next.config.js
Stefan Hardegger 68c7c8115f Intial Setup
2025-07-21 08:47:52 +02:00

19 lines
344 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
appDir: true,
},
async rewrites() {
return [
{
source: '/api/:path*',
destination: `${process.env.NEXT_PUBLIC_API_URL}/api/:path*`,
},
];
},
images: {
domains: ['localhost'],
},
};
module.exports = nextConfig;