From 42e75f250e104a3a2c1e68fffd397afaeb1f7211 Mon Sep 17 00:00:00 2001 From: Michael Schmitz Date: Tue, 21 Nov 2023 20:17:10 +0100 Subject: [PATCH] add override url, allows to set reverse proxied urls --- 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']) !!}