Skip to content

Commit 49f6365

Browse files
authored
fix: .env.production from allowing console logs on build (#1273)
`VITE_ALLOW_CONSOLE_LOGS` should not be present in `.env.production`. We don't want basic debugs logs in prod. Found this because the latest OS release `7.1.0-beta.1.6` which included the latest web components had debug logs included. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Disabled non-essential console logging in the production environment for a cleaner runtime experience. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 419c794 commit 49f6365

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

web/.env.production

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@ VITE_ACCOUNT=https://account.unraid.net
22
VITE_CONNECT=https://connect.myunraid.net
33
VITE_UNRAID_NET=https://unraid.net
44
VITE_CALLBACK_KEY=Uyv2o8e*FiQe8VeLekTqyX6Z*8XonB
5-
# Keep console logs until components are stabilized
6-
VITE_ALLOW_CONSOLE_LOGS=true

0 commit comments

Comments
 (0)