diff --git a/src/runtime/app.ts b/src/runtime/app.ts index 1831e9bd8..7b8915a49 100644 --- a/src/runtime/app.ts +++ b/src/runtime/app.ts @@ -32,7 +32,7 @@ export function queryCollectionSearchSections(collection: keyof Collections, opt } async function executeContentQuery(event: H3Event | undefined, collection: T, sql: string) { - if (import.meta.client) { + if (import.meta.client && window.WebAssembly) { return queryContentSqlClientWasm(collection, sql) as Promise } else {