diff --git a/interface/hq-dashboard/app/api/config/whatsapp/route.js b/interface/hq-dashboard/app/api/config/whatsapp/route.js index 6731e9d..d0528b5 100644 --- a/interface/hq-dashboard/app/api/config/whatsapp/route.js +++ b/interface/hq-dashboard/app/api/config/whatsapp/route.js @@ -1,6 +1,8 @@ import { NextResponse } from 'next/server'; import Redis from 'ioredis'; +export const dynamic = 'force-dynamic'; + // Use env var or default to the in-cluster Redis service const redisHost = process.env.REDIS_HOST || 'redis.platform-data.svc.cluster.local'; const redis = new Redis({ host: redisHost, port: 6379, maxRetriesPerRequest: 1 });