shlink/config/autoload/url-shortener.local.php.dist

24 lines
596 B
Plaintext
Raw Normal View History

<?php
declare(strict_types=1);
use function Shlinkio\Shlink\Config\env;
2022-08-21 06:19:27 -05:00
use function Shlinkio\Shlink\Config\swooleIsInstalled;
return [
'url_shortener' => [
'domain' => [
'schema' => 'http',
2022-08-21 06:19:27 -05:00
'hostname' => sprintf('localhost:%s', match (true) {
PHP_SAPI === 'cli' && env('RR_MODE') !== null => '8800', // Roadrunner
2022-08-21 06:19:27 -05:00
swooleIsInstalled() => '8080', // Swoole
default => '8000', // FPM
}),
],
'auto_resolve_titles' => true,
2022-08-06 02:37:15 -05:00
// 'multi_segment_slugs_enabled' => true,
],
];