add config values
This commit is contained in:
parent
e61b3a7b16
commit
e8893646f0
|
@ -30,6 +30,7 @@ export interface Config {
|
|||
yavin_jellyfin_url: string
|
||||
yavin_jellyfin_token: string
|
||||
yavin_jellyfin_collection_user: string
|
||||
random_movie_count: number
|
||||
}
|
||||
}
|
||||
export const config: Config = {
|
||||
|
@ -69,6 +70,7 @@ export const config: Config = {
|
|||
yavin_jellyfin_url: process.env.YAVIN_JELLYFIN_URL ?? "",
|
||||
yavin_jellyfin_token: process.env.YAVIN_TOKEN ?? "",
|
||||
yavin_jellyfin_collection_user: process.env.YAVIN_COLLECTION_USER ?? "",
|
||||
jf_user: process.env.JELLYFIN_USER ?? ""
|
||||
jf_user: process.env.JELLYFIN_USER ?? "",
|
||||
random_movie_count: parseInt(process.env.RANDOM_MOVIE_COUNT ?? "") ?? 5
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue