mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-01 02:12:26 +00:00
Remove redundant dev mode alias
This commit is contained in:
1 parent
44a818bba0
commit
2f966e5239
2 files changed
+1
-6
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user