27 lines
1.1 KiB
TypeScript
27 lines
1.1 KiB
TypeScript
export default defineNuxtConfig({
|
|
compatibilityDate: "2026-06-10",
|
|
ssr: false,
|
|
devtools: { enabled: false },
|
|
// Single-user private inbox: no SSR/SEO needs; SPA so @kuns/zitadel-auth runs in-browser.
|
|
runtimeConfig: {
|
|
// Server-only config is read directly from process.env at runtime (see server/utils),
|
|
// so it is NOT declared here (Nuxt only overrides runtimeConfig via the NUXT_ prefix).
|
|
public: {
|
|
zitadelIssuer: process.env.NUXT_PUBLIC_ZITADEL_ISSUER || "https://auth.kuns.dev",
|
|
zitadelClientId: process.env.NUXT_PUBLIC_ZITADEL_CLIENT_ID || "",
|
|
// Optional: Zitadel project id. When set, the login requests the project-audience
|
|
// scope so the access token's `aud` includes the project id (robust API validation).
|
|
zitadelProjectId: process.env.NUXT_PUBLIC_ZITADEL_PROJECT_ID || "",
|
|
},
|
|
},
|
|
app: {
|
|
head: {
|
|
title: "ClaudeDo Inbox",
|
|
meta: [
|
|
{ name: "viewport", content: "width=device-width, initial-scale=1, viewport-fit=cover" },
|
|
{ name: "color-scheme", content: "light dark" },
|
|
],
|
|
},
|
|
},
|
|
});
|