From 6b4230348b48e0dbd4a3b78e055af74421b61dca Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Mon, 13 Nov 2023 20:52:03 +0100 Subject: [PATCH] Add environment variable for the live edit feature --- config/hyde.php | 2 +- packages/framework/config/hyde.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/hyde.php b/config/hyde.php index 6c1089dad3a..b05f8683950 100644 --- a/config/hyde.php +++ b/config/hyde.php @@ -419,7 +419,7 @@ 'save_preview' => true, // Should the live edit feature be enabled? - 'live_edit' => true, + 'live_edit' => env('SERVER_LIVE_EDIT', true), // Configure the realtime compiler dashboard 'dashboard' => [ diff --git a/packages/framework/config/hyde.php b/packages/framework/config/hyde.php index 6c1089dad3a..b05f8683950 100644 --- a/packages/framework/config/hyde.php +++ b/packages/framework/config/hyde.php @@ -419,7 +419,7 @@ 'save_preview' => true, // Should the live edit feature be enabled? - 'live_edit' => true, + 'live_edit' => env('SERVER_LIVE_EDIT', true), // Configure the realtime compiler dashboard 'dashboard' => [