From d0c189ebf9020b86b5a380464758354167987027 Mon Sep 17 00:00:00 2001 From: Michael Schmitz Date: Sat, 2 Dec 2023 12:45:17 +0100 Subject: [PATCH] add override url, allows to set reverse proxied urls (#660) --- AVMFritzbox/config.blade.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AVMFritzbox/config.blade.php b/AVMFritzbox/config.blade.php index fbc41da7d3..11c28e3355 100644 --- a/AVMFritzbox/config.blade.php +++ b/AVMFritzbox/config.blade.php @@ -1,5 +1,9 @@

{{ __('app.apps.config') }} ({{ __('app.optional') }}) @include('items.enable')

+
+ + {!! Form::text('config[override_url]', isset($item) ? $item->getconfig()->override_url : null, ['placeholder' => __('app.apps.override'), 'id' => 'override_url', 'class' => 'form-control']) !!} +
{!! Form::select('config[availablestats][]', App\SupportedApps\AVMFritzbox\AVMFritzbox::getAvailableStats(), isset($item) ? $item->getConfig()->availablestats ?? null : null, ['multiple' => 'multiple']) !!}