Skip to content

Commit 7addf29

Browse files
committed
Added option Redirect all pages to HTTPS
#216
1 parent f3cd60b commit 7addf29

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

config/config-legends.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,5 +161,10 @@
161161
{"value": "USE_THEME_PREVIEW_IFRAME",
162162
"title": "Use iframe as theme preview",
163163
"description": "Determines if an internal iframe should be used as the preview for them theme page."
164+
},
165+
166+
{"value": "FORCE_ROUTE_HTTPS",
167+
"title": "Redirect all pages to HTTPS",
168+
"description": "This option will break your setup when using a reverse proxy."
164169
}
165170
]

resources/views/components/config/config.blade.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,9 @@ function text($key){
326326
{{toggle('ENABLE_SOCIAL_LOGIN')}}
327327

328328

329+
{{toggle('FORCE_ROUTE_HTTPS')}}
330+
331+
329332
{{-- start SMTP settings --}}
330333
<h2 class="ch2">SMTP</h2>
331334
<form id="smtp-form" action="{{route('editConfig')}}" enctype="multipart/form-data" method="post">

0 commit comments

Comments
 (0)