From 343fa60cebfce7257f844e2dd8b26b3ba6f74b97 Mon Sep 17 00:00:00 2001 From: "Carlos (Almeira)" Date: Mon, 13 Jul 2026 10:17:22 -0500 Subject: [PATCH] fix: update stream_state db id and prepare deployment scripts --- almeira-live | 2 +- next.config.ts | 2 ++ package-hostinger.sh | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/almeira-live b/almeira-live index b691245..cb700bd 160000 --- a/almeira-live +++ b/almeira-live @@ -1 +1 @@ -Subproject commit b69124577f75e164f314eb3b27c34ee566f18189 +Subproject commit cb700bd7c5f0f3e5172b4e9c13e895f7249b030e diff --git a/next.config.ts b/next.config.ts index 83478ac..35ec3a1 100644 --- a/next.config.ts +++ b/next.config.ts @@ -5,12 +5,14 @@ const nextConfig: NextConfig = { output: 'standalone', outputFileTracingRoot: process.cwd(), trailingSlash: true, + staticPageGenerationTimeout: 300, experimental: { serverActions: { bodySizeLimit: (process.env.SERVER_ACTIONS_BODY_SIZE_LIMIT as any) || '100mb', allowedOrigins: ['almeiraproducciones.com', 'news.almeira.com.co', 'www.almeiraproducciones.com', 'localhost:3000'], }, }, + serverExternalPackages: ['isomorphic-dompurify', 'jsdom'], }; export default nextConfig; diff --git a/package-hostinger.sh b/package-hostinger.sh index 2377f3d..db21ce1 100755 --- a/package-hostinger.sh +++ b/package-hostinger.sh @@ -46,6 +46,12 @@ if [ -f ".env.local" ]; then cp .env.local "$DEPLOY_DIR/.env.production" fi +# 7.1 Copiar ecosystem.config.js +if [ -f "ecosystem.config.js" ]; then + echo "Copiando ecosystem.config.js..." + cp ecosystem.config.js "$DEPLOY_DIR/" +fi + # 7.5. Modificar package.json para evitar que Hostinger intente hacer build echo "Configurando package.json para producción en Hostinger..." node -e "