Added option Redirect all pages to HTTPS

https://github.com/JulianPrieber/littlelink-custom/issues/216
This commit is contained in:
Julian Prieber 2022-11-20 14:31:25 +01:00
parent f3cd60bbc4
commit 7addf2912a
2 changed files with 8 additions and 0 deletions

View File

@ -161,5 +161,10 @@
{"value": "USE_THEME_PREVIEW_IFRAME",
"title": "Use iframe as theme preview",
"description": "Determines if an internal iframe should be used as the preview for them theme page."
},
{"value": "FORCE_ROUTE_HTTPS",
"title": "Redirect all pages to HTTPS",
"description": "This option will break your setup when using a reverse proxy."
}
]

View File

@ -326,6 +326,9 @@ foreach($users as $user){if($user->littlelink_name != $configValue2){echo '<opti
{{toggle('ENABLE_SOCIAL_LOGIN')}}
{{toggle('FORCE_ROUTE_HTTPS')}}
{{-- start SMTP settings --}}
<h2 class="ch2">SMTP</h2>
<form id="smtp-form" action="{{route('editConfig')}}" enctype="multipart/form-data" method="post">