mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-18 00:52:07 +03:00
27 lines
810 B
PHP
27 lines
810 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use const Shlinkio\Shlink\Core\DEFAULT_REDIRECT_CACHE_LIFETIME;
|
|
use const Shlinkio\Shlink\Core\DEFAULT_REDIRECT_STATUS_CODE;
|
|
use const Shlinkio\Shlink\Core\DEFAULT_SHORT_CODES_LENGTH;
|
|
|
|
return [
|
|
|
|
'url_shortener' => [
|
|
'domain' => [
|
|
'schema' => 'https',
|
|
'hostname' => '',
|
|
],
|
|
'validate_url' => false, // Deprecated
|
|
'visits_webhooks' => [],
|
|
'default_short_codes_length' => DEFAULT_SHORT_CODES_LENGTH,
|
|
'auto_resolve_titles' => false,
|
|
'append_extra_path' => false,
|
|
|
|
// TODO Move these two options to their own config namespace. Maybe "redirects".
|
|
'redirect_status_code' => DEFAULT_REDIRECT_STATUS_CODE,
|
|
'redirect_cache_lifetime' => DEFAULT_REDIRECT_CACHE_LIFETIME,
|
|
],
|
|
|
|
];
|