Skip to content

Commit

Permalink
wasm: Fix browser example
Browse files Browse the repository at this point in the history
We no longer have the wasm path config option.
  • Loading branch information
penberg committed Jan 26, 2024
1 parent 6ac99ad commit 75d1316
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/libsql-client-wasm/examples/browser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { createClient } from "@libsql/client-wasm";
async function main() {
const config = {
url: "file:local.db",
sqliteWasmPath: "/node_modules/@libsql/client/node_modules/@sqlite.org/sqlite-wasm/sqlite-wasm/jswasm/sqlite3.wasm"
};
const db = await createClient(config);
const rs = await db.execute("SELECT * FROM users");
Expand Down

0 comments on commit 75d1316

Please sign in to comment.