mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add dotenv
This commit is contained in:
parent
54e7c52b5e
commit
448c78a87e
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import Redis, { RedisOptions } from 'ioredis'
|
||||
import 'dotenv/config'
|
||||
|
||||
export type RedisDataSourceOptions = {
|
||||
REDIS_URL?: string
|
||||
|
|
|
|||
Loading…
Reference in a new issue