An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(ui): only show copy button on https
peaklabs-dev7e0ff9cc3cf6
diff --git a/resources/views/components/forms/copy-button.blade.php b/resources/views/components/forms/copy-button.blade.phpindex 39be2bc6ad..12fadc595d 100644--- a/resources/views/components/forms/copy-button.blade.php+++ b/resources/views/components/forms/copy-button.blade.php@@ -1,8 +1,9 @@@props(['text'])-<div class="relative" x-data="{ copied: false }">+<div class="relative" x-data="{ copied: false, isSecure: window.isSecureContext }"><input type="text" value="{{ $text }}" readonly class="input"><button+ x-show="isSecure"@click.prevent="copied = true; navigator.clipboard.writeText({{ Js::from($text) }}); setTimeout(() => copied = false, 1000)"class="absolute right-2 top-1/2 -translate-y-1/2 p-1.5 text-gray-400 hover:text-gray-300 transition-colors"title="Copy to clipboard">