Passenger web apps deployment issues resolution 1

This commit is contained in:
Stephanos A
2026-06-03 07:38:27 +03:00
parent f29e8d95fd
commit e91005ac90
3 changed files with 38 additions and 1 deletions

View File

@@ -1,10 +1,14 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
reactStrictMode: true,
transpilePackages: ['@edr/types', '@edr/ui-common'],
env: {
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || 'http://localhost:4000',
},
images: {
unoptimized: true, // Required for static export
},
};
module.exports = nextConfig;

View File

@@ -1,7 +1,11 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
reactStrictMode: true,
transpilePackages: ['@edr/types', '@edr/ui-common'],
images: {
unoptimized: true, // Required for static export
},
};
export default nextConfig;