Skip to content

Commit 5353a3d

Browse files
committed
fix: import path of js assets
1 parent b72b685 commit 5353a3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/web/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
const serviceWorkerVersion = null;
4141
</script>
4242
<script type="module">
43-
import { Surreal, StringRecordId } from "/assets/packages/surrealdb_js/assets/js/index.bundled.mjs";
44-
import { surrealdbWasmEngines } from "/assets/packages/surrealdb_wasm/assets/wasm/surrealdb/esm.bundled.js";
43+
import { Surreal, StringRecordId } from "assets/packages/surrealdb_js/assets/js/index.bundled.mjs";
44+
import { surrealdbWasmEngines } from "assets/packages/surrealdb_wasm/assets/wasm/surrealdb/esm.bundled.js";
4545

4646
// expose the type to the global scope
4747
globalThis.SurrealJS = Surreal;

0 commit comments

Comments
 (0)