From 948ec522b01e2605de92da68d12beaa4a9040bc2 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 26 May 2023 12:04:44 +0200 Subject: [PATCH] hmm --- app/Http/Livewire/Settings/Form.php | 2 +- public/.htaccess | 4 ---- resources/views/components/layout-simple.blade.php | 5 +++++ 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/Http/Livewire/Settings/Form.php b/app/Http/Livewire/Settings/Form.php index 7a129c613..1ea7a74ac 100644 --- a/app/Http/Livewire/Settings/Form.php +++ b/app/Http/Livewire/Settings/Form.php @@ -111,7 +111,7 @@ public function submit() } $yaml = Yaml::dump($traefik_dynamic_conf, 12, 2); if (config('app.env') == 'local') { - dump($yaml); + // dump($yaml); } $base64 = base64_encode($yaml); remote_process([ diff --git a/public/.htaccess b/public/.htaccess index d0d8a651a..3aec5e27e 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -19,7 +19,3 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] - - -Header always set Content-Security-Policy "upgrade-insecure-requests;" - diff --git a/resources/views/components/layout-simple.blade.php b/resources/views/components/layout-simple.blade.php index 8c6472474..8d4d43e27 100644 --- a/resources/views/components/layout-simple.blade.php +++ b/resources/views/components/layout-simple.blade.php @@ -6,6 +6,11 @@ + @if (request()->secure()) + + @else + http {{ request()->secure() }} + @endif @env('local') Coolify - localhost @endenv