fix: disable SSR for authenticated app pages
WaveSurfer.js accesses window/AudioContext at module load time, causing SSR to throw undefined on hard reload of track pages. All (app) routes are auth-gated and fetch data client-side — SSR provides no benefit here. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1
apps/web/src/routes/(app)/+layout.ts
Normal file
1
apps/web/src/routes/(app)/+layout.ts
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export const ssr = false;
|
||||||
Reference in New Issue
Block a user