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: social thumbnail assistants in prod #732

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Conversation

nsarrazin
Copy link
Collaborator

We were not able to fetch the fonts while deployed in prod. This should hopefully circumvent the issue by making sure that the fonts are loaded and available at build time using a vite plugin.

@nsarrazin nsarrazin added bug Something isn't working back This issue is related to the Svelte backend or the DB labels Jan 24, 2024
@@ -21,10 +21,10 @@
<img class="mr-1.5 h-8 w-8" src={imgUrl} alt="app logo" />
AI assistant
</p>
<h1 class="m-0 {name.length < 38 ? 'text-5xl' : 'text-4xl'} text-balance font-black">
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removed the tailwind classes that were not recognized by satori cc @gary149

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

they caused warnings in the log every time a thumbnail was rendered

@nsarrazin
Copy link
Collaborator Author

going to deploy to see if it fixes things

@nsarrazin nsarrazin merged commit bbbed00 into main Jan 24, 2024
3 checks passed
@nsarrazin nsarrazin deleted the fix/thumbnail_prod branch January 24, 2024 18:20
ice91 pushed a commit to ice91/chat-ui that referenced this pull request Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back This issue is related to the Svelte backend or the DB bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant