fix: update stream_state db id and prepare deployment scripts

This commit is contained in:
Carlos (Almeira) 2026-07-13 10:17:22 -05:00
parent 2bb519bcbb
commit 343fa60ceb
3 changed files with 9 additions and 1 deletions

@ -1 +1 @@
Subproject commit b69124577f75e164f314eb3b27c34ee566f18189
Subproject commit cb700bd7c5f0f3e5172b4e9c13e895f7249b030e

View File

@ -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;

View File

@ -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 "