fix issues

This commit is contained in:
2026-01-02 01:11:25 +01:00
parent 8693dde21e
commit 07985fb8f1
7 changed files with 29 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ const nextConfig = {
// Fix for monorepos: point tracing to repo root (portable across machines/containers)
outputFileTracingRoot: path.join(__dirname, '../..'),
images: {
unoptimized: process.env.NODE_ENV === 'development',
unoptimized: process.env.NODE_ENV === 'development' || process.env.DOCKER_SMOKE === 'true',
remotePatterns: [
{
protocol: 'https',
@@ -30,6 +30,11 @@ const nextConfig = {
hostname: 'localhost',
port: '3001',
},
{
protocol: 'http',
hostname: 'localhost',
port: '3100',
},
{
protocol: 'https',
hostname: 'api.gridpilot.io',