Phase 1: lock cron, reload chaud, argon2, providers, IMDb lookup, cache LRU, /health, /metrics, rate limit, UI dark, biome
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import { dirname, join } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
@@ -30,10 +30,11 @@ function str(name, def) {
|
||||
|
||||
// Secrets / runtime
|
||||
export const TMDB_API_KEY = required('TMDB_API_KEY');
|
||||
export const PASSWORD = required('PROXYTMDB_PASSWORD');
|
||||
export const ADMIN_PASSWORD_HASH = required('ADMIN_PASSWORD_HASH');
|
||||
export const SESSION_SECRET = required('SESSION_SECRET');
|
||||
export const PORT = int('PORT', 3000);
|
||||
export const HOST = str('HOST', '0.0.0.0');
|
||||
export const RATE_LIMIT_PER_SEC = int('RATE_LIMIT_PER_SEC', 50);
|
||||
|
||||
// URLs externes
|
||||
export const TMDB_API_BASE = str('TMDB_API_BASE', 'https://api.themoviedb.org/3');
|
||||
|
||||
Reference in New Issue
Block a user