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 twitter share image #1441

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Fix twitter share image #1441

merged 1 commit into from
Sep 21, 2023

Conversation

nuno-aac
Copy link
Contributor

This pr fixes the issue with images in twitter sharing. This seems to be a deeper issue with the VITE_SITE_URL env variable pointing to production.starknet-website.pages.dev instead of the actual domain url. This domain is not actually getting the images uploaded to it since June. but they are present in the main domain. Since the environment is part of the infrastructure and i had trouble pinpointing where to set it, this solution should work as a stopgap measure until we figure out the big picture.

@vercel
Copy link

vercel bot commented Sep 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
starknet-summit-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 21, 2023 3:21pm
starknet-website ❌ Failed (Inspect) Sep 21, 2023 3:21pm

@thecotne
Copy link
Contributor

env is set from here https://github.com/starknet-io/starknet-website/blob/dev/.github/workflows/website.yml#L56

it needs to have a conditional for production

@nuno-aac nuno-aac force-pushed the bugfix/fix-twitter-share branch from 1b29389 to 3b86015 Compare September 21, 2023 15:03
@nuno-aac nuno-aac temporarily deployed to Netlify CMS bugfix/fix-twitter-share September 21, 2023 15:03 — with GitHub Actions Inactive
@nuno-aac nuno-aac temporarily deployed to Starknet Website bugfix/fix-twitter-share September 21, 2023 15:03 — with GitHub Actions Inactive
@nuno-aac nuno-aac temporarily deployed to Storybook bugfix/fix-twitter-share September 21, 2023 15:03 — with GitHub Actions Inactive
@nuno-aac nuno-aac force-pushed the bugfix/fix-twitter-share branch from 3b86015 to 1b7ea2a Compare September 21, 2023 15:04
@nuno-aac nuno-aac temporarily deployed to Netlify CMS bugfix/fix-twitter-share September 21, 2023 15:04 — with GitHub Actions Inactive
@nuno-aac nuno-aac temporarily deployed to Starknet Website bugfix/fix-twitter-share September 21, 2023 15:04 — with GitHub Actions Inactive
@nuno-aac nuno-aac temporarily deployed to Storybook bugfix/fix-twitter-share September 21, 2023 15:04 — with GitHub Actions Inactive
@rafaelcruzazevedo rafaelcruzazevedo merged commit d9f23cf into dev Sep 21, 2023
4 checks passed
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.

3 participants