mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-27 16:26:37 +03:00
18 lines
370 B
PHP
18 lines
370 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink;
|
|
|
|
use function Shlinkio\Shlink\Common\env;
|
|
|
|
use const Shlinkio\Shlink\Core\DEFAULT_DELETE_SHORT_URL_THRESHOLD;
|
|
|
|
return [
|
|
|
|
'delete_short_urls' => [
|
|
'check_visits_threshold' => true,
|
|
'visits_threshold' => (int) env('DELETE_SHORT_URL_THRESHOLD', DEFAULT_DELETE_SHORT_URL_THRESHOLD),
|
|
],
|
|
|
|
];
|