Skip to content

Commit

Permalink
fix: disable ISR and media not loading correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Jan 13, 2024
1 parent 8912cfc commit f3aba73
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
5 changes: 4 additions & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ export default defineNuxtConfig({
routeRules: {
'/posts/*': {
// Incremental Static Regeneration for 5 minutes
isr: 60 * 5,
// isr: 60 * 5,

// TODO: Change when Cloudflare Pages supports ISR
ssr: false,

sitemap: {
priority: 1,
Expand Down
4 changes: 1 addition & 3 deletions pages/posts/[domain].vue
Original file line number Diff line number Diff line change
Expand Up @@ -395,10 +395,8 @@
description += '. Fast and free anime hentai with the Rule 34 App.'
return description
}
})
},
useServerSeoMeta({
referrer: 'no-referrer'
})
Expand Down
8 changes: 3 additions & 5 deletions pages/premium/saved-posts/[domain].vue
Original file line number Diff line number Diff line change
Expand Up @@ -332,12 +332,10 @@
return _title
})
useServerSeoMeta({
referrer: 'no-referrer'
})
useSeoMeta({
title
title,
referrer: 'no-referrer'
})
definePageMeta({
Expand Down

0 comments on commit f3aba73

Please sign in to comment.