Polkadex-Substrate / Polkadex-Open-Beta

12 stars 3 forks source link

Turn off console logging in production (mainnet) - Has performance implications & allows for unnecessary information exposure #457

Closed jaymansfield closed 1 year ago

jaymansfield commented 1 year ago

Turn off console logging in production (mainnet). It's good practice to use console.log for debugging purpose in staging environments, but it needs to be removed from the production server.

Logging should just be disabled as part of your environment config or in the build process.

image

onchainaddress:{esm99RRxKvainDsRR6UHRcju4vNnAw1ouZEw64Yfn12tc6HpQ}