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
|
|
|
],
|
2021-02-10 22:39:37 +03:00
|
|
|
'validate_url' => false, // Deprecated
|
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,
|
2021-02-05 20:33:36 +03:00
|
|
|
'auto_resolve_titles' => false,
|
2021-02-10 22:09:25 +03:00
|
|
|
'track_orphan_visits' => true,
|
2016-04-30 18:47:48 +03:00
|
|
|
],
|
|
|
|
|
|
|
|
];
|