Skip to content

Commit

Permalink
try prerender again
Browse files Browse the repository at this point in the history
  • Loading branch information
djay committed Nov 20, 2024
1 parent cdda5ae commit da3bdb9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions examples/nuxt-blog-starter/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ export default defineNuxtConfig({
ssr: true,
$env: {
edit: {
ssr: true
},
routeRules: {
"/*": {
prerender: false,
//redirect: '/index',
cors: true,
headers: {
"origin": "https://hydra.pretagov.com",
"content-security-policy": "img-src: 'self', 'data:', 'https://hydra.pretagov.com', 'https://hydra-api.pretagov.com'; connect-src: 'self', 'data:', 'https://hydra.pretagov.com', 'https://hydra-api.pretagov.com'; 'frame-ancestors': '*';",
"cross-prigin-resource-policy": "cross-origin"
ssr: false,
routeRules: {
"/*": {
prerender: true,
//redirect: '/index',
cors: true,
headers: {
"origin": "https://hydra.pretagov.com",
"content-security-policy": "img-src: 'self', 'data:', 'https://hydra.pretagov.com', 'https://hydra-api.pretagov.com'; connect-src: 'self', 'data:', 'https://hydra.pretagov.com', 'https://hydra-api.pretagov.com'; 'frame-ancestors': '*';",
"cross-prigin-resource-policy": "cross-origin"
}
}
}
}
},
},
routeRules: {
// "/_ipx/_/https%3A//*": {
Expand Down

0 comments on commit da3bdb9

Please sign in to comment.