feat: integrate typesense

This commit is contained in:
2023-08-05 21:52:43 +02:00
parent f35a63fcee
commit 46cd823b6c
9 changed files with 241 additions and 26 deletions

View File

@@ -16,3 +16,6 @@ const duration = Deno.env.get("SESSION_DURATION");
export const SESSION_DURATION = duration ? +duration : (60 * 60 * 24);
export const JWT_SECRET = Deno.env.get("JWT_SECRET");
export const TYPESENSE_URL = Deno.env.get("TYPESENSE_URL")||"http://localhost:8108"
export const TYPESENSE_API_KEY = Deno.env.get("TYPESENSE_API_KEY")