diff --git a/lib/db.ts b/lib/db.ts index eff31b8..f7c18d4 100644 --- a/lib/db.ts +++ b/lib/db.ts @@ -1,4 +1,4 @@ -export const DB_BASE_URL = 'https://dbd-db.neru.rip'; +export const DB_BASE_URL = process.env.NODE_ENV === 'development' ? '' : 'https://dbd-db.neru.rip'; const _cache = new Map>();