Skip to content

Commit

Permalink
transition
Browse files Browse the repository at this point in the history
  • Loading branch information
mgilbertakm committed Aug 13, 2023
1 parent 4f9531b commit 81a3327
Show file tree
Hide file tree
Showing 6 changed files with 1,106 additions and 185 deletions.
19 changes: 13 additions & 6 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,19 @@ import compress from "astro-compress";

// https://astro.build/config
export default defineConfig({
experimental: {
viewTransitions: true
},
output: 'server',
vite:{
server:{headers:{"X-Frame-Options":"ALLOW-FROM https://app.contentful.com",
"Access-Control-Allow-Origin":"app.contentful.com",
"Access-Control-Allow-Credentials":"true",
"Content-Security-Policy":"default-src 'self' https://static.contentful.com; script-src 'self' 'unsafe-eval' https://cdn.staging.data.contentful.org https://static.contentful.com https://static.zuora.com https://cdn.segment.com https://widget.intercom.io https://js.intercomcdn.com https://*.cloudfront.net https://cmp.osano.com https://cdn.embedly.com https://contentful.github.io https://fullstory.com https://*.fullstory.com https://www.google-analytics.com https://www.googletagmanager.com https://*.googleapis.com https://googleapis.com https://static.filestackapi.com https://cdn.wootric.com https://cdnjs.cloudflare.com https://fast.wistia.com 'sha256-FEVAuH+6Bm6VUdmFF4FitBNJ0zorKj7OmFzwVinkffY=' https://sgmnt-cdn.ctfassets.net; style-src 'self' 'unsafe-inline' https://cdn.staging.data.contentful.org https://static.contentful.com https://www.contentful.com https://cmp.osano.com https://cdn.embedly.com https://cdnjs.cloudflare.com https://contentful.github.io https://fonts.googleapis.com https://s3.eu-central-1.amazonaws.com https://static.filestackapi.com; img-src 'self' data: https: blob:; font-src 'self' data: https://fonts.intercomcdn.com https://static.contentful.com https://www.contentful.com https://cdn.embedly.com https://cdnjs.cloudflare.com https://fonts.gstatic.com https://js.intercomcdn.com https://use.typekit.net; connect-src 'self' https: wss: blob:; media-src blob: data: https://fast.wistia.net https://embedwistia-a.akamaihd.net; object-src 'none'; child-src 'self' blob:; frame-src https: http:; worker-src 'self' blob:;upgrade-insecure-requests 'none';"}}
vite: {
server: {
headers: {
"X-Frame-Options": "ALLOW-FROM https://app.contentful.com",
"Access-Control-Allow-Origin": "app.contentful.com",
"Access-Control-Allow-Credentials": "true",
"Content-Security-Policy": "default-src 'self' https://static.contentful.com; script-src 'self' 'unsafe-eval' https://cdn.staging.data.contentful.org https://static.contentful.com https://static.zuora.com https://cdn.segment.com https://widget.intercom.io https://js.intercomcdn.com https://*.cloudfront.net https://cmp.osano.com https://cdn.embedly.com https://contentful.github.io https://fullstory.com https://*.fullstory.com https://www.google-analytics.com https://www.googletagmanager.com https://*.googleapis.com https://googleapis.com https://static.filestackapi.com https://cdn.wootric.com https://cdnjs.cloudflare.com https://fast.wistia.com 'sha256-FEVAuH+6Bm6VUdmFF4FitBNJ0zorKj7OmFzwVinkffY=' https://sgmnt-cdn.ctfassets.net; style-src 'self' 'unsafe-inline' https://cdn.staging.data.contentful.org https://static.contentful.com https://www.contentful.com https://cmp.osano.com https://cdn.embedly.com https://cdnjs.cloudflare.com https://contentful.github.io https://fonts.googleapis.com https://s3.eu-central-1.amazonaws.com https://static.filestackapi.com; img-src 'self' data: https: blob:; font-src 'self' data: https://fonts.intercomcdn.com https://static.contentful.com https://www.contentful.com https://cdn.embedly.com https://cdnjs.cloudflare.com https://fonts.gstatic.com https://js.intercomcdn.com https://use.typekit.net; connect-src 'self' https: wss: blob:; media-src blob: data: https://fast.wistia.net https://embedwistia-a.akamaihd.net; object-src 'none'; child-src 'self' blob:; frame-src https: http:; worker-src 'self' blob:;upgrade-insecure-requests 'none';"
}
}
//ssr:{noExternal:['contentful']}
},
integrations: [tailwind(),
Expand Down Expand Up @@ -60,7 +67,7 @@ export default defineConfig({
logMainAccess: true,
logSendBeaconRequests: true,
logStackTraces: false,
logScriptExecution: true,
logScriptExecution: true,
},
}),
],
Expand Down
Loading

0 comments on commit 81a3327

Please sign in to comment.