-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
chore: update siteUrs from netlify.com -> netlify.app #23808
Conversation
update with changes from gatsby
Netlify recently changed their static site links from .com to .app. While this link about the URL changes (https://community.netlify.com/t/changes-coming-to-netlify-site-urls/8918) says that the old .com links will redirect to .app it seems to be causing CORS issues in the demo app
I ran the lint command locally but am not sure why there were additional formatting changes aside from my changes from .com to .app 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Thank you for making these changes! Any chance you could search for these URLs in the whole codebase and change all of them? ^^
starters/README.md
Outdated
@@ -62,7 +62,7 @@ A starter is a simplified example to get up and running with Gatsby quickly and | |||
|
|||
| Name | Demo | Description | | |||
| :-------------------------------------------------------------------: | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- | | |||
| [blog](https://github.com/gatsbyjs/gatsby-starter-blog) | [gatsby-starter-blog-demo.netlify.com](https://gatsby-starter-blog-demo.netlify.com/) | A starter for a blog powered by Gatsby and Markdown | | |||
| [blog](https://github.com/gatsbyjs/gatsby-starter-blog) | [gatsby-starter-blog-demo.netlify.com](https://gatsby-starter-blog-demo.netlify.app/) | A starter for a blog powered by Gatsby and Markdown | | |||
| [default](https://github.com/gatsbyjs/gatsby-starter-default) | [gatsby-starter-default-demo.netlify.com](https://gatsby-starter-default-demo.netlify.com/) | A simple starter to get up and developing quickly with Gatsby | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| [default](https://github.com/gatsbyjs/gatsby-starter-default) | [gatsby-starter-default-demo.netlify.com](https://gatsby-starter-default-demo.netlify.com/) | A simple starter to get up and developing quickly with Gatsby | | |
| [default](https://github.com/gatsbyjs/gatsby-starter-default) | [gatsby-starter-default-demo.netlify.app](https://gatsby-starter-default-demo.netlify.app/) | A simple starter to get up and developing quickly with Gatsby | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! I updated to update *-demo.netlify.com
to *-demo.netlify.app
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! <3 Thank you!
@M0nica Gatsby has updated the Prettier version it is using to 2.x and this version made some changes to its rule of formatting JavaScript code. Upgrading the Prettier installed in your computer should ensure that you're able to format files in a way consistent to the rest of the project. |
Description
Netlify recently changed their static site links from .com to .app. While this link about the URL changes (https://community.netlify.com/t/changes-coming-to-netlify-site-urls/8918) says that the old .com links will redirect to .app it seems to be causing CORS issues in the demo app
The demo app seems to work as expected at: https://gatsby-starter-blog-demo.netlify.app/new-beginnings/ whereas https://gatsby-starter-blog-demo.netlify.com/new-beginnings/ when navigated to from https://gatsby-starter-blog-demo.netlify.com throws the errors seen in the above screenshot.
The demo link on GitHub in this template's description should also be updated to point to .app instead of .com by whoever has edit access to this repo's URL box at: https://github.com/gatsbyjs/gatsby-starter-blog
Documentation
https://community.netlify.com/t/changes-coming-to-netlify-site-urls/8918