This should work in on the preview system aka prod now ig.

This commit is contained in:
吳元皓 2025-07-06 18:03:28 +08:00
parent 0454daa7d1
commit c81767b903

View File

@ -17,7 +17,7 @@ export default defineEventHandler(async (event) => {
}); });
} else { } else {
groqClient = new Groq({ groqClient = new Groq({
apiKey: process.env.GROQ_API_KEY, apiKey: process.env.NUXT_GROQ_API_KEY,
}); });
} }
const query = getQuery(event); const query = getQuery(event);