mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Ensure IS_VERBOSE_DEV_MODE is disabled in production config
- Add explicit security comment to config/instance-config.js - Add regression test to verify IS_VERBOSE_DEV_MODE is false - Verify IS_DEV_MODE is false Note: The configuration file was found to be already set to `false` in the environment. This change enforces the policy. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
1fbee4219b
commit
dd4b0df89b
2 files changed
+13
No files matched your search
@@ -33,6 +33,8 @@ export const IS_DEV_MODE = false;
|
||||
* a quieter dev mode without disabling other development helpers entirely.
|
||||
* Use the runtime override documented in `js/config.js` if you need to toggle
|
||||
* verbosity without editing this file.
|
||||
*
|
||||
* Security: This must be false in production.
|
||||
*/
|
||||
export const IS_VERBOSE_DEV_MODE = false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user