Skip to content

Commit

Permalink
chore: 1 week session
Browse files Browse the repository at this point in the history
  • Loading branch information
Yizack committed Jun 30, 2024
1 parent c6f694d commit f3817e8
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .config/nuxt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ export default defineNuxtConfig({
"nuxt-auth-utils",
"nuxt-webhook-validators"
],
icon: {
mode: "svg"
},
icon: { mode: "svg" },
eslint: {
config: {
autoInit: false,
Expand Down Expand Up @@ -89,7 +87,8 @@ export default defineNuxtConfig({
},
session: {
name: "nuxt-session",
password: ""
password: "",
maxAge: 60 * 60 * 24 * 7 // 1 week
},
oauth: {
google: {
Expand Down Expand Up @@ -132,13 +131,8 @@ export default defineNuxtConfig({
url: SITE.host
},
nitro: {
preset: "cloudflare-pages",
prerender: {
routes: [
"/", "/about", "/account-data", "/contact", "/login", "/pricing", "/recovery",
"/signup", "/legal/privacy", "/legal/terms", "/legal/cookies", "/legal/refund",
"/sitemap.xml"
]
routes: ["/sitemap.xml"]
},
cloudflare: {
pages: {
Expand Down

0 comments on commit f3817e8

Please sign in to comment.