Skip to content

Commit

Permalink
chore(examples): migrate D3 example to Vercel (#6991)
Browse files Browse the repository at this point in the history
  • Loading branch information
hassankhan authored Aug 7, 2023
1 parent 102976a commit 4b126d3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
3 changes: 0 additions & 3 deletions examples/d3-dashboard/dashboard-app/.netlify/state.json

This file was deleted.

2 changes: 0 additions & 2 deletions examples/d3-dashboard/dashboard-app/netlify.toml

This file was deleted.

17 changes: 17 additions & 0 deletions examples/d3-dashboard/dashboard-app/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Strict-Transport-Security",
"value": "max-age=31536000; includeSubDomains;"
},
{
"key": "Content-Security-Policy",
"value": "connect-src track.cube.dev graphql.contentful.com https://plain-iliamna.gcp-us-central1.cubecloudapp.dev; font-src fonts.gstatic.com cdn.jsdelivr.net static.cube.dev; style-src 'self' fonts.googleapis.com cdn.jsdelivr.net 'unsafe-inline'; script-src 'self' https://www.datadoghq-browser-agent.com/datadog-logs-v4.js 'sha256-NNRNlUvekpg7yDPcWeHFgr2SbeZBup4y3/n9L6w472A='; img-src 'self' static.cube.dev data:; object-src 'none'"
}
]
}
]
}

1 comment on commit 4b126d3

@vercel
Copy link

@vercel vercel bot commented on 4b126d3 Aug 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

examples-react-d3 – ./examples/d3-dashboard/dashboard-app

examples-react-d3.vercel.app
examples-react-d3-cube-dev.vercel.app
examples-react-d3-git-master-cube-dev.vercel.app
d3-dashboard-demo.cube.dev

Please sign in to comment.