shlinkio /
shlink
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | use const Shlinkio\Shlink\Core\DEFAULT_REDIRECT_CACHE_LIFETIME; |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 6 | use const Shlinkio\Shlink\Core\DEFAULT_REDIRECT_STATUS_CODE; |
||
|
0 ignored issues
–
show
|
|||
| 7 | use const Shlinkio\Shlink\Core\DEFAULT_SHORT_CODES_LENGTH; |
||
|
0 ignored issues
–
show
|
|||
| 8 | |||
| 9 | return [ |
||
| 10 | |||
| 11 | 'url_shortener' => [ |
||
| 12 | 'domain' => [ |
||
| 13 | 'schema' => 'https', |
||
| 14 | 'hostname' => '', |
||
| 15 | ], |
||
| 16 | 'validate_url' => false, |
||
| 17 | 'anonymize_remote_addr' => true, |
||
| 18 | 'visits_webhooks' => [], |
||
| 19 | 'default_short_codes_length' => DEFAULT_SHORT_CODES_LENGTH, |
||
| 20 | 'redirect_status_code' => DEFAULT_REDIRECT_STATUS_CODE, |
||
| 21 | 'redirect_cache_lifetime' => DEFAULT_REDIRECT_CACHE_LIFETIME, |
||
| 22 | ], |
||
| 23 | |||
| 24 | ]; |
||
| 25 |