Something went wrong. Try again.
A simple to-do app focused on tasks that can be completed within a specific time span. taskline.tobinio.dev
Something went wrong. Try again.
12345678910111213141516171819202122export default defineNitroPlugin(() => { const missing: string[] = [];
if (!process.env.NUXT_GOOGLE_CLIENT_ID) { missing.push("NUXT_GOOGLE_CLIENT_ID"); }
if (!process.env.NUXT_GOOGLE_CLIENT_SECRET) { missing.push("NUXT_GOOGLE_CLIENT_SECRET"); }
if (missing.length > 0) { const message = `Missing required env vars: ${missing.join(", ")}`;
if (import.meta.dev) { console.warn(`[config] ${message}`); } else { throw new Error(message); // fail fast in production } }});