mirror of
https://github.com/unraid/api.git
synced 2026-01-09 01:59:57 -06:00
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 -->
This commit is contained in:
@@ -2,5 +2,3 @@ VITE_ACCOUNT=https://account.unraid.net
|
|||||||
VITE_CONNECT=https://connect.myunraid.net
|
VITE_CONNECT=https://connect.myunraid.net
|
||||||
VITE_UNRAID_NET=https://unraid.net
|
VITE_UNRAID_NET=https://unraid.net
|
||||||
VITE_CALLBACK_KEY=Uyv2o8e*FiQe8VeLekTqyX6Z*8XonB
|
VITE_CALLBACK_KEY=Uyv2o8e*FiQe8VeLekTqyX6Z*8XonB
|
||||||
# Keep console logs until components are stabilized
|
|
||||||
VITE_ALLOW_CONSOLE_LOGS=true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user