diff --git a/app/lib/stores/workbench.ts b/app/lib/stores/workbench.ts index b657a3456..bb1bd950d 100644 --- a/app/lib/stores/workbench.ts +++ b/app/lib/stores/workbench.ts @@ -441,7 +441,7 @@ export class WorkbenchStore { } } async uploadFolder(files: FileList | null) { - if (!files) return; + if (!files || import.meta.env.SSR) return; const ignoredFiles = [ '.git/',