Fix banner backdrop image path for production
- Move god-bless-bitcoin-backdrop.jpg to public/images/ folder - Update content store to use /images/ path instead of /assets/images/ - Files in public/ are served directly in production builds - Fixes broken banner image on production server Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -25,10 +25,10 @@ export const useContentStore = defineStore('content', () => {
|
||||
// Set featured content immediately - God Bless Bitcoin
|
||||
const godBlessBitcoin = bitcoinFilms.find(f => f.title === 'God Bless Bitcoin') || bitcoinFilms[0]
|
||||
if (godBlessBitcoin) {
|
||||
// Override backdrop to use the downloaded image
|
||||
// Override backdrop to use the public folder image
|
||||
featuredContent.value = {
|
||||
...godBlessBitcoin,
|
||||
backdrop: '/assets/images/god-bless-bitcoin-backdrop.jpg'
|
||||
backdrop: '/images/god-bless-bitcoin-backdrop.jpg'
|
||||
}
|
||||
} else {
|
||||
featuredContent.value = indeeHubFilms[0]
|
||||
|
||||
Reference in New Issue
Block a user