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

fix: fix downloadUrl when downloading Gatsby datastore file from CDN #392

Merged
merged 3 commits into from
Jun 1, 2022

Conversation

ericapisani
Copy link
Contributor

@ericapisani ericapisani commented May 31, 2022

Summary

A user trying out the new functionality in #376 found that the URL being created to download the datastore file from the CDN was incorrect as the siteUrl was the full URL of the request, not the domain.

These changes address that issue.

Test plan

Deploy preview: https://ep-optional-datastore-test.netlify.app/

Relevant links (GitHub issues, Notion docs, etc.) or a picture of cute animal

Slack thread for the Netlifolk

babybarnowl-800x533

Standard checks:

  • Check the Deploy Preview's Demo site for your PR's functionality

🧪 Once merged, make sure to update the version if needed and that it was
published correctly.

@ericapisani ericapisani self-assigned this May 31, 2022
@netlify
Copy link

netlify bot commented May 31, 2022

Deploy Preview for netlify-plugin-gatsby-demo ready!

Name Link
🔨 Latest commit c996679
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-gatsby-demo/deploys/629747611289c00008567693
😎 Deploy Preview https://deploy-preview-392--netlify-plugin-gatsby-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@ericapisani ericapisani requested a review from a team May 31, 2022 19:40
@ericapisani ericapisani marked this pull request as ready for review May 31, 2022 19:40
Copy link
Contributor

@ascorbic ascorbic left a comment

Choose a reason for hiding this comment

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

Looks good!

@netlify
Copy link

netlify bot commented Jun 1, 2022

Deploy Preview for ep-optional-datastore-test ready!

Name Link
🔨 Latest commit c996679
🔍 Latest deploy log https://app.netlify.com/sites/ep-optional-datastore-test/deploys/62974761b74525000961a9e2
😎 Deploy Preview https://deploy-preview-392--ep-optional-datastore-test.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@kodiakhq kodiakhq bot merged commit b455188 into main Jun 1, 2022
@kodiakhq kodiakhq bot deleted the ep/fix-site-url branch June 1, 2022 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants