From 2f966e5239429a3ebdba6946e69c0a5320f0ccfa Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Wed, 15 Oct 2025 10:47:02 -0400 Subject: [PATCH] Remove redundant dev mode alias --- config/instance-config.js | 5 +---- js/config.js | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/config/instance-config.js b/config/instance-config.js index 0fe993aa..680481a1 100644 --- a/config/instance-config.js +++ b/config/instance-config.js @@ -19,12 +19,9 @@ * When `true`, bitvid surfaces extra logging, debug helpers, and experimental * UI affordances intended for development environments. Set the value to * `false` before deploying to production so that end users receive the stable - * experience. Downstream modules read this flag via `js/config.js`, which also - * mirrors the legacy casing (`isDEVMODE`) for compatibility with older - * imports. + * experience. Downstream modules read this flag via `js/config.js`. */ export const IS_DEV_MODE = true; -export const isDEVMODE = IS_DEV_MODE; /** * The primary administrator for this bitvid instance. diff --git a/js/config.js b/js/config.js index 4e90081a..24bd0019 100644 --- a/js/config.js +++ b/js/config.js @@ -2,7 +2,6 @@ import { IS_DEV_MODE, - isDEVMODE, ADMIN_SUPER_NPUB, ADMIN_DM_IMAGE_URL, BITVID_WEBSITE_URL, @@ -30,7 +29,6 @@ import { export const isDevMode = Boolean(IS_DEV_MODE); export { IS_DEV_MODE }; -export { isDEVMODE }; if (typeof window !== "undefined") { window.__BITVID_DEV_MODE__ = isDevMode;