Skip to content

Commit

Permalink
fix: change preset for SSR to work
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-mulier-p committed Dec 13, 2024
1 parent f6d1cb7 commit 4c80080
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 1 addition & 3 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@ export default defineNuxtConfig({

nitro: {
prerender: {
routes: ['/rss.xml'],
autoSubfolderIndex: false
routes: ['/rss.xml']
},
},

Expand Down Expand Up @@ -308,7 +307,6 @@ export default defineNuxtConfig({
},

multiCache: {
debug: true,
data: {
enabled: true,
},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"pages:dev": "NITRO_PRESET=cloudflare-pages wrangler pages dev --compatibility-date=2023-10-25 --proxy 3000 -- npm run dev",
"pages:build": "NITRO_PRESET=cloudflare-pages npm run build",
"pages:dev": "NITRO_PRESET=cloudflare-worker wrangler pages dev --proxy 3000 -- npm run dev",
"pages:build": "NITRO_PRESET=cloudflare-worker npm run build",
"pages:deploy": "wrangler pages deploy --project-name docs ./dist",
"pages:build-deploy": "npm run pages:build && npm run pages:deploy",
"analyze": "nuxt analyze"
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion wrangler.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
logpush = true
logpush = true
compatibility_date = '2024-07-16'

0 comments on commit 4c80080

Please sign in to comment.