2016-04-30 18:47:48 +03:00
|
|
|
<?php
|
2019-10-05 18:26:10 +03:00
|
|
|
|
2017-10-12 11:13:20 +03:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2020-06-20 12:07:15 +03:00
|
|
|
use const Shlinkio\Shlink\Core\DEFAULT_REDIRECT_CACHE_LIFETIME;
|
2020-06-17 20:01:56 +03:00
|
|
|
use const Shlinkio\Shlink\Core\DEFAULT_REDIRECT_STATUS_CODE;
|
2020-02-18 20:54:40 +03:00
|
|
|
use const Shlinkio\Shlink\Core\DEFAULT_SHORT_CODES_LENGTH;
|
|
|
|
|
2016-04-30 18:47:48 +03:00
|
|
|
return [
|
|
|
|
|
2016-05-01 12:21:54 +03:00
|
|
|
'url_shortener' => [
|
|
|
|
'domain' => [
|
2019-12-17 23:20:24 +03:00
|
|
|
'schema' => 'https',
|
|
|
|
'hostname' => '',
|
2016-05-01 12:21:54 +03:00
|
|
|
],
|
2019-12-31 18:29:32 +03:00
|
|
|
'validate_url' => false,
|
2020-05-08 16:43:09 +03:00
|
|
|
'anonymize_remote_addr' => true,
|
2019-12-27 11:25:07 +03:00
|
|
|
'visits_webhooks' => [],
|
2020-02-18 20:54:40 +03:00
|
|
|
'default_short_codes_length' => DEFAULT_SHORT_CODES_LENGTH,
|
2020-06-17 20:01:56 +03:00
|
|
|
'redirect_status_code' => DEFAULT_REDIRECT_STATUS_CODE,
|
2020-06-20 12:07:15 +03:00
|
|
|
'redirect_cache_lifetime' => DEFAULT_REDIRECT_CACHE_LIFETIME,
|
2016-04-30 18:47:48 +03:00
|
|
|
],
|
|
|
|
|
|
|
|
];
|