Skip to content

Commit 11033f5

Browse files
committed
add console.log
1 parent 289909f commit 11033f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,17 @@ const client = new Typesense.Client({
88
connectionTimeoutSeconds: 2,
99
});
1010

11+
console.log("Creating search index deployment key");
12+
1113
await client.keys().create({
1214
description: "Search index deployment key",
1315
actions: ["documents:upsert"],
1416
collections: ["*"],
1517
value: process.env.TYPESENSE_WRITE_API_KEY!,
1618
});
1719

20+
console.log("Creating public frontend key");
21+
1822
await client.keys().create({
1923
description: "Frontend search key",
2024
actions: ["documents:search"],

0 commit comments

Comments
 (0)