Skip to content

Comments

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

Open
SaptakS wants to merge 1 commit intomainfrom
fix-fb-missing-assets
Open

Uses new URL to set dyanmic icon paths in Facebook dashboard#632
SaptakS wants to merge 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.

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

1 participant