Skip to content

Uses new URL to set dyanmic icon paths in Facebook dashboard#632

Merged
micahflee merged 1 commit intomainfrom
fix-fb-missing-assets
Feb 23, 2026
Merged

Uses new URL to set dyanmic icon paths in Facebook dashboard#632
micahflee merged 1 commit intomainfrom
fix-fb-missing-assets

Conversation

@SaptakS
Copy link
Contributor

@SaptakS SaptakS commented Feb 20, 2026

Fixes #629

Since the facebook dashboard icons used dynamic binding, vite was not able to build the asset link correctly. In twitter dashboard, icons use static url. https://vite.dev/guide/assets.html#new-url-url-import-meta-url

I checked and most of the other places we are using dynamic binding seems to use an absolute URI, so I think it's okay, and in one place we were already using similar code like this PR.

To test, build with npm run make-dev and test that the build actually loads with images.

@micahflee micahflee merged commit 427f4fe into main Feb 23, 2026
1 check passed
@micahflee micahflee deleted the fix-fb-missing-assets branch February 23, 2026 16:48
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.

Facebook: images on dashboard aren't loading

2 participants