From e765b741e0a46894d7e2610f495ec85f46e2ab61 Mon Sep 17 00:00:00 2001 From: Felipe Albert da Silva Date: Wed, 28 Jul 2021 13:07:50 -0300 Subject: [PATCH] Flag to force https on endpoint --- config/artisan-gui.php | 10 ++++++++++ resources/views/index.blade.php | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/config/artisan-gui.php b/config/artisan-gui.php index b899a11..c25a489 100644 --- a/config/artisan-gui.php +++ b/config/artisan-gui.php @@ -49,6 +49,16 @@ */ 'local' => true, + /* + |-------------------------------------------------------------------------- + | Force HTTPS + |-------------------------------------------------------------------------- + | + | Flag to force https on endpoint + | + */ + 'force-https' => env('FORCE_HTTPS_ARTISAN_GUI', false), + /* |-------------------------------------------------------------------------- | List of command permissions diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index 9ca101b..8b7dac2 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -13,7 +13,7 @@
- +
@include('gui::partials.scripts')