Skip to content

Commit 6b42303

Browse files
committed
Add environment variable for the live edit feature
1 parent 9166d4e commit 6b42303

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/hyde.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@
419419
'save_preview' => true,
420420

421421
// Should the live edit feature be enabled?
422-
'live_edit' => true,
422+
'live_edit' => env('SERVER_LIVE_EDIT', true),
423423

424424
// Configure the realtime compiler dashboard
425425
'dashboard' => [

packages/framework/config/hyde.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@
419419
'save_preview' => true,
420420

421421
// Should the live edit feature be enabled?
422-
'live_edit' => true,
422+
'live_edit' => env('SERVER_LIVE_EDIT', true),
423423

424424
// Configure the realtime compiler dashboard
425425
'dashboard' => [

0 commit comments

Comments
 (0)