Skip to content

Commit

Permalink
add override url, allows to set reverse proxied urls (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bl4d3s committed Dec 2, 2023
1 parent 60d39c6 commit d0c189e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AVMFritzbox/config.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<h2>{{ __('app.apps.config') }} ({{ __('app.optional') }}) @include('items.enable')</h2>
<div class="items">
<div class="input">
<label>{{ strtoupper(__('app.url')) }}</label>
{!! Form::text('config[override_url]', isset($item) ? $item->getconfig()->override_url : null, ['placeholder' => __('app.apps.override'), 'id' => 'override_url', 'class' => 'form-control']) !!}
</div>
<div class="input">
<label>Stats to show</label>
{!! Form::select('config[availablestats][]', App\SupportedApps\AVMFritzbox\AVMFritzbox::getAvailableStats(), isset($item) ? $item->getConfig()->availablestats ?? null : null, ['multiple' => 'multiple']) !!}
Expand Down

0 comments on commit d0c189e

Please sign in to comment.