add redis, game icons and fix readme
Some checks failed
Code quality checks / biome (push) Failing after 10s
Some checks failed
Code quality checks / biome (push) Failing after 10s
This commit is contained in:
parent
245215265a
commit
6d46ef48d0
7 changed files with 153 additions and 21 deletions
|
@ -5,9 +5,15 @@ export const environment: Environment = {
|
|||
process.env.NODE_ENV === "development" || process.argv.includes("--dev"),
|
||||
};
|
||||
|
||||
export const redisTtl: number = process.env.REDIS_TTL
|
||||
? Number.parseInt(process.env.REDIS_TTL, 10)
|
||||
: 60 * 60 * 1; // 1 hour
|
||||
|
||||
export const lanyardConfig: LanyardConfig = {
|
||||
userId: process.env.LANYARD_USER_ID || "",
|
||||
instance: process.env.LANYARD_INSTANCE || "https://api.lanyard.rest",
|
||||
};
|
||||
|
||||
export const badgeApi: string | null = process.env.BADGE_API_URL || null;
|
||||
export const steamGridDbKey: string | undefined =
|
||||
process.env.STEAMGRIDDB_API_KEY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue