Skip to content

Commit acd62f0

Browse files
authored
fixup
1 parent df6a752 commit acd62f0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/utils/wrangler.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ export function generateWrangler(hub: { kv: boolean, database: boolean, blob: bo
4343
}
4444

4545
if (hub.vectorize) {
46-
wrangler['d1_databases'] = [{
46+
wrangler['vectorize'] = [{
4747
binding: 'VECTORIZE',
48-
database_name: 'default',
49-
database_id: 'default'
48+
index_name: 'default',
5049
}]
5150
}
5251

0 commit comments

Comments
 (0)