See the best posts from any Bluesky account
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix video thumbnail CSP and update landing page example handles

Allow video.cdn.bsky.app in img-src CSP directive so Bluesky video
thumbnails load correctly. Update example handles on landing page.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+2 -7
+1 -6
app/controllers/landing_controller.ts
··· 1 1 import type { HttpContext } from '@adonisjs/core/http' 2 2 3 - const EXAMPLE_HANDLES = [ 4 - 'dril.bsky.social', 5 - 'paulGraham.bsky.social', 6 - 'karaswisher.bsky.social', 7 - 'atproto.com', 8 - ] 3 + const EXAMPLE_HANDLES = ['dril.bsky.social', 'astrokatie.com', 'pfrazee.com'] 9 4 10 5 export default class LandingController { 11 6 async show({ view }: HttpContext) {
+1 -1
config/shield.ts
··· 8 8 defaultSrc: [`'self'`], 9 9 scriptSrc: [`'self'`, '@nonce'], 10 10 styleSrc: [`'self'`, `'unsafe-inline'`, 'https://cdn.jsdelivr.net', 'https://fonts.bunny.net'], 11 - imgSrc: [`'self'`, 'data:', 'https://cdn.bsky.app', 'https://video.bsky.app'], 11 + imgSrc: [`'self'`, 'data:', 'https://cdn.bsky.app', 'https://video.bsky.app', 'https://video.cdn.bsky.app'], 12 12 connectSrc: app.inDev ? [`'self'`, '@viteUrl', 'ws://localhost:*'] : [`'self'`], 13 13 fontSrc: [`'self'`, 'https://cdn.jsdelivr.net', 'https://fonts.bunny.net'], 14 14 objectSrc: [`'none'`],