Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add context.deploy to edge functions context #5909

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

eduardoboucas
Copy link
Member

Summary

Updates the edge functions bootstrap to the latest version and exposes context.deploy to Netlify Dev.

@eduardoboucas eduardoboucas requested a review from a team as a code owner July 31, 2023 11:56
@@ -115,6 +115,7 @@ export const initializeProxy = async ({

// Setting header with geolocation and site info.
req.headers[headers.Geo] = Buffer.from(JSON.stringify(geoLocation)).toString('base64')
req.headers[headers.DeployID] = '0'
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the value we use for the DEPLOY_ID environment variable in Netlify Dev.

@github-actions
Copy link

📊 Benchmark results

Comparing with 3850c33

  • Dependency count: 1,303 (no change)
  • Package size: 271 MB ⬆️ 0.00% increase vs. 3850c33

@eduardoboucas eduardoboucas merged commit df9ef26 into main Jul 31, 2023
@eduardoboucas eduardoboucas deleted the feat/edge-functions-deploy-id branch July 31, 2023 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants