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

Make meta img URLs aboslute #102

Merged
merged 2 commits into from
Jan 19, 2024
Merged

Make meta img URLs aboslute #102

merged 2 commits into from
Jan 19, 2024

Conversation

franknoirot
Copy link
Collaborator

Metatags.io thinks relative URLs are fine but Twitter doesn't seem to any longer since some update in recent weeks. So I think using the SvelteKit magic string %sveltekit.assets% should put an absolute URL in there, since it's what we use successfully to get the favicons to work.

Copy link

vercel bot commented Jan 19, 2024

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

Name Status Preview Updated (UTC)
text-to-cad-ui ✅ Ready (Inspect) Visit Preview Jan 19, 2024 6:11pm

@franknoirot
Copy link
Collaborator Author

%sveltekit.assets% seems to resolve to ./ for those image URLs (not for favicons though? very strange), so I'm trying just using https://text-to-cad.zoo.dev

@franknoirot
Copy link
Collaborator Author

Even the preview deploy URL seems to work showing up when I try to tweet it so I'm calling it working

@franknoirot franknoirot merged commit e4f2bf5 into main Jan 19, 2024
3 checks passed
@franknoirot franknoirot deleted the fix-meta-img-url branch January 19, 2024 18:14
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.

1 participant