Skip to content

Commit

Permalink
Issue #66: Allow for background blur of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
daledavies committed Mar 1, 2023
1 parent 9ec81c6 commit 4e7ac32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jumpapp/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
'noindex' => getenv('NOINDEX') ?: true,

// Background blur percentage.
'bgblur' => getenv('BGBLUR') ?: '70',
'bgblur' => (getenv('BGBLUR') !== false) ? getenv('BGBLUR') : '70',
// Background brightness percentage.
'bgbright' => getenv('BGBRIGHT') ?: '85',
'bgbright' => (getenv('BGBRIGHT') !== false) ? getenv('BGBRIGHT') : '85',
// Unsplash API key, when added will use Unsplash background images.
'unsplashapikey' => getenv('UNSPLASHAPIKEY') ?: false,
// Unsplash collection name to pick random image from.
Expand Down

0 comments on commit 4e7ac32

Please sign in to comment.