add dotenv

This commit is contained in:
Hongbo Wu
2024-04-11 18:25:24 +08:00
parent 54e7c52b5e
commit 448c78a87e
2 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@ export const updateContentForFileItem = async (msg: UpdateContentMessage) => {
const itemToUpdate: QueryDeepPartialEntity<LibraryItem> = {
...msg,
// content may not be present if we failed to parse the file
originalContent: msg.content,
// This event is fired after the file is fully uploaded,
// so along with updating content, we mark it as

View File

@ -1,4 +1,5 @@
import Redis, { RedisOptions } from 'ioredis'
import 'dotenv/config'
export type RedisDataSourceOptions = {
REDIS_URL?: string