-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
refactor baseUrl to fix exposing NEXT_PUBLIC_VERCEL_URL #1326
base: main
Are you sure you want to change the base?
Conversation
… prod URL (TWITTER_SITE)
@valiant1x is attempting to deploy a commit to the Vercel Solutions Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -29,3 +29,10 @@ export const TAGS = { | |||
export const HIDDEN_PRODUCT_TAG = 'nextjs-frontend-hidden'; | |||
export const DEFAULT_OPTION = 'Default Title'; | |||
export const SHOPIFY_GRAPHQL_API_ENDPOINT = '/api/2023-01/graphql.json'; | |||
|
|||
export const BASE_URL = |
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.
I think we should be able to use VERCEL_PROJECT_PRODUCTION_URL
here now.
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.
Bump on this! Are you still interested in taking this PR?
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.
Description
https://my-cool-name-h2134yh2-github-user-projects.vercel.app/
. this ends up in robots.txt, sitemap, and the opengraph image URLs as part of the current app configuration, assuming you deploy with VercelTWITTER_SITE
)fixes #1324