Skip to content

Open source file-system and knowledge based agent template. Build AI agents that stay up to date with your knowledge base

fix og meta

Hugo Richard6a28cd067e25
diff --git a/apps/app/.nuxtrc b/apps/app/.nuxtrc
index 18ce1ca..817599f 100644
--- a/apps/app/.nuxtrc
+++ b/apps/app/.nuxtrc
@@ -1,2 +1,2 @@
-setups.@onmax/nuxt-better-auth="0.0.2-alpha.21"
+setups.@onmax/nuxt-better-auth="0.0.2-alpha.29"
setups.@evlog/nuxthub="1.1.0"
\ No newline at end of file
diff --git a/apps/app/nuxt.config.ts b/apps/app/nuxt.config.ts
index 207b5b9..1f604ee 100644
--- a/apps/app/nuxt.config.ts
+++ b/apps/app/nuxt.config.ts
@@ -111,23 +111,12 @@ export default defineNuxtConfig({
cache: true
},
- ssr: false,
-
routeRules: {
- // Root and login: SSR for OG meta tags and fast first paint
- '/': { ssr: true },
- '/login': { ssr: true },
- // Shared chats: SSR + ISR for public access and SEO
- '/shared/**': { ssr: true, isr: { expiration: 300 } },
- // Auth API routes should never be cached
+ '/shared/**': { isr: { expiration: 300 } },
'/api/auth/**': { isr: false, cache: false },
- // Chat API responses are user-specific
'/api/chats/**': { isr: false, cache: false },
- // Webhook routes should never be cached
'/api/webhooks/**': { isr: false, cache: false },
- // Admin docs: SSR + permanent ISR (static markdown, only changes on redeploy)
- '/admin/docs/**': { ssr: true, isr: { expiration: false } },
- // Admin pages are behind auth
+ '/admin/docs/**': { isr: { expiration: false } },
'/admin/**': { auth: { user: { role: 'admin' } as any } },
},
diff --git a/apps/app/package.json b/apps/app/package.json
index b9d004e..6925664 100644
--- a/apps/app/package.json
+++ b/apps/app/package.json
@@ -34,7 +34,7 @@
"@nuxt/ui": "^4.4.0",
"@nuxthub/core": "^0.10.6",
"@nuxtjs/mdc": "^0.20.1",
- "@onmax/nuxt-better-auth": "0.0.2-alpha.21",
+ "@onmax/nuxt-better-auth": "0.0.2-alpha.29",
"@savoir/agent": "workspace:*",
"@savoir/github": "workspace:*",
"@savoir/sdk": "workspace:*",
diff --git a/bun.lock b/bun.lock
index c4ab883..80ea2ac 100644
--- a/bun.lock
+++ b/bun.lock
@@ -27,7 +27,7 @@
"@nuxt/ui": "^4.4.0",
"@nuxthub/core": "^0.10.6",
"@nuxtjs/mdc": "^0.20.1",
- "@onmax/nuxt-better-auth": "0.0.2-alpha.21",
+ "@onmax/nuxt-better-auth": "0.0.2-alpha.29",
"@savoir/agent": "workspace:*",
"@savoir/github": "workspace:*",
"@savoir/sdk": "workspace:*",
@@ -748,7 +748,7 @@
"@octokit/types": ["@octokit/[email protected]", "", { "dependencies": { "@octokit/openapi-types": "^27.0.0" } }, "sha512-sKq+9r1Mm4efXW1FCk7hFSeJo4QKreL/tTbR0rz/qx/r1Oa2VV83LTA/H/MuCOX7uCIJmQVRKBcbmWoySjAnSg=="],
- "@onmax/nuxt-better-auth": ["@onmax/[email protected]", "", { "dependencies": { "@better-auth/cli": "^1.5.0-beta.3", "@nuxt/kit": "^4.2.2", "@nuxt/ui": "^4.2.1", "defu": "^6.1.4", "jiti": "^2.4.2", "pathe": "^2.0.3", "radix3": "^1.1.2", "std-env": "^3.10.0" }, "peerDependencies": { "@nuxthub/core": ">=0.10.5", "better-auth": ">=1.0.0", "convex": ">=1.25.0" }, "optionalPeers": ["@nuxthub/core", "convex"] }, "sha512-Q42DoTDQ/0bqSJtv5t0h/Pdo81DiWqvhGufGYuJXTt6jr9+4fWSQAolG+6S168lMeR5F9BMEFpH+L24NmNc9tw=="],
+ "@onmax/nuxt-better-auth": ["@onmax/[email protected]", "", { "dependencies": { "@better-auth/cli": "^1.5.0-beta.3", "@nuxt/kit": "^4.2.2", "@nuxt/ui": "^4.2.1", "defu": "^6.1.4", "jiti": "^2.4.2", "pathe": "^2.0.3", "radix3": "^1.1.2", "std-env": "^3.10.0" }, "peerDependencies": { "@nuxthub/core": ">=0.10.5", "better-auth": ">=1.0.0" }, "optionalPeers": ["@nuxthub/core"] }, "sha512-/C6oiqiwDD3t5QAYwvC3S+ZaJPjRcKjwT+rN7bcEuH03p7Q/FVcC5EjPyv2yUqzW+Hfx0ySgIJDn01CPbHtmAA=="],
"@opentelemetry/api": ["@opentelemetry/[email protected]", "", {}, "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg=="],