fix: update stream_state db id and prepare deployment scripts
This commit is contained in:
parent
2bb519bcbb
commit
343fa60ceb
@ -1 +1 @@
|
||||
Subproject commit b69124577f75e164f314eb3b27c34ee566f18189
|
||||
Subproject commit cb700bd7c5f0f3e5172b4e9c13e895f7249b030e
|
||||
@ -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;
|
||||
|
||||
@ -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 "
|
||||
|
||||
Loading…
Reference in New Issue
Block a user