diff --git a/src/app/page.tsx b/src/app/page.tsx index 8b67299..b88fbf6 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,3 +1,4 @@ +export const dynamic = 'force-dynamic'; import { prisma } from '@/lib/db'; import Header from '@/components/Header'; import MediaWall from '@/components/MediaWall'; @@ -51,3 +52,4 @@ export default async function HomePage() { ); } + diff --git a/src/lib/media/types.ts b/src/lib/media/types.ts index a38ab30..4b17bb7 100644 --- a/src/lib/media/types.ts +++ b/src/lib/media/types.ts @@ -47,6 +47,8 @@ const AUDIO_EXTENSIONS: Record = { /** Files to always exclude from scanning */ const EXCLUDED_FILENAMES = new Set([ '.ds_store', + '.stfolder', + '.stignore', 'desktop.ini', 'thumbs.db', '.gitignore', @@ -72,6 +74,7 @@ const EXCLUDED_SUFFIXES = [ const EXCLUDED_DIRECTORIES = new Set([ '.git', '.syncthing', + '.stfolder', 'node_modules', '.cache', '__pycache__', @@ -155,3 +158,4 @@ export function getSafeContentType(ext: string): string { if (lower === '.svg') return 'image/svg+xml'; return getMimeType(lower); } +