Files
tom goriunovandGitHub 60e0aa3364 Support show_scam_tokens cookie (#2560)
* Support `show_scam_tokens` cookie

Fixes #2549

* fix test and update envs for demo

* [skip ci] pass all cookies via next proxy

* fixes
2025-02-17 14:26:05 +01:00

8 lines
205 B
TypeScript

import { getEnvValue } from 'configs/app/utils';
const config = Object.freeze({
hideScamTokensEnabled: getEnvValue('NEXT_PUBLIC_VIEWS_TOKEN_SCAM_TOGGLE_ENABLED') === 'true',
});
export default config;