From 712a058872a68c22a96d85226d0abf09e55da5d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Devrim=20Tun=C3=A7er?= Date: Thu, 12 Mar 2026 23:20:00 +0300 Subject: [PATCH 1/2] fix(logs): handle missing clipboard API in non-HTTPS contexts navigator.clipboard is undefined in insecure contexts (HTTP), causing a silent TypeError when clicking the copy logs button. Added a secure context check and proper Promise chaining so failures surface as user- visible error messages instead of silent crashes. Affects deployment log view and shared get-logs component. --- .../project/application/deployment/show.blade.php | 11 +++++++++-- .../views/livewire/project/shared/get-logs.blade.php | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/resources/views/livewire/project/application/deployment/show.blade.php b/resources/views/livewire/project/application/deployment/show.blade.php index 28872f4bc..5c149f526 100644 --- a/resources/views/livewire/project/application/deployment/show.blade.php +++ b/resources/views/livewire/project/application/deployment/show.blade.php @@ -212,8 +212,15 @@