feat(domain): configurar info@drip-zone.online, activar dominio oficial y sincronizar configuracion

This commit is contained in:
AI Bot 2026-09-05 15:54:56 -05:00
parent 1d26a09e93
commit 0d9cb0db6e
3 changed files with 7 additions and 6 deletions

View File

@ -8,9 +8,9 @@ export default function AdminSettingsPage() {
const [settings, setSettings] = useState<StoreSettings>({ const [settings, setSettings] = useState<StoreSettings>({
storeName: 'DripZone', storeName: 'DripZone',
slogan: 'Luxury Streetwear & Collectibles', slogan: 'Luxury Streetwear & Collectibles',
email: 'carlos.andres.lasso@gmail.com', email: 'info@drip-zone.online',
phone: '3167455877', phone: '3106390296',
whatsappNumber: '573167455877', whatsappNumber: '573106390296',
instagramHandle: '@dripzone.co', instagramHandle: '@dripzone.co',
address: 'Bodega Central / Cali', address: 'Bodega Central / Cali',
city: 'Cali, Colombia', city: 'Cali, Colombia',

View File

@ -20,7 +20,7 @@ export async function POST(request: Request) {
orderId, orderId,
amount: Number(amount), amount: Number(amount),
description, description,
payerEmail, payerEmail: payerEmail || 'info@drip-zone.online',
redirectionUrl: redirectionUrl || `https://drip-zone.online/checkout?orderId=${orderId}`, redirectionUrl: redirectionUrl || `https://drip-zone.online/checkout?orderId=${orderId}`,
type, type,
}); });

View File

@ -21,7 +21,7 @@ EVOLUTION_API_URL = "https://evolution.almeira.com.co"
EVOLUTION_API_KEY = "83B5BD230796-4324-AE73-3508F69E279D" EVOLUTION_API_KEY = "83B5BD230796-4324-AE73-3508F69E279D"
INSTANCE_NAME = "DripZone" INSTANCE_NAME = "DripZone"
TARGET_PHONE = "573167455877" TARGET_PHONE = "573167455877"
APK_URL = "https://dripzone.almeira.com.co/DripZone.apk" APK_URL = "https://drip-zone.online/DripZone.apk"
FILES_TO_SYNC = [ FILES_TO_SYNC = [
"src/lib/data-service.ts", "src/lib/data-service.ts",
@ -34,6 +34,7 @@ FILES_TO_SYNC = [
"src/app/api/whatsapp-feed/route.ts", "src/app/api/whatsapp-feed/route.ts",
"src/app/api/whatsapp-groups/route.ts", "src/app/api/whatsapp-groups/route.ts",
"src/app/api/users/route.ts", "src/app/api/users/route.ts",
"src/app/admin/configuracion/page.tsx",
"src/app/checkout/page.tsx", "src/app/checkout/page.tsx",
"src/components/store/CartDrawer.tsx", "src/components/store/CartDrawer.tsx",
"src/components/store/ProductModal.tsx", "src/components/store/ProductModal.tsx",
@ -86,7 +87,7 @@ def main():
print(" [OK] Archivos sincronizados en VPS.") print(" [OK] Archivos sincronizados en VPS.")
print("[3/5] Reconstruyendo y reiniciando contenedor en VPS (docker compose build)...") print("[3/5] Reconstruyendo y reiniciando contenedor en VPS (docker compose build)...")
cmd_build = f"cd {REMOTE_BASE} && echo {PASSWORD} | sudo -S docker compose -f docker-compose.prod.yml build && echo {PASSWORD} | sudo -S docker compose -f docker-compose.prod.yml up -d" cmd_build = f"cd {REMOTE_BASE} && echo '{PASSWORD}' | sudo -S docker compose -f docker-compose.prod.yml up -d --build"
stdin, stdout, stderr = ssh.exec_command(cmd_build) stdin, stdout, stderr = ssh.exec_command(cmd_build)
out = stdout.read().decode('utf-8', errors='replace') out = stdout.read().decode('utf-8', errors='replace')
err = stderr.read().decode('utf-8', errors='replace') err = stderr.read().decode('utf-8', errors='replace')