2019-12-17 14:20:24 -06:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
2022-08-27 06:01:38 -05:00
|
|
|
use function Shlinkio\Shlink\Config\runningInRoadRunner;
|
2021-07-21 02:28:21 -05:00
|
|
|
|
2019-12-17 14:20:24 -06:00
|
|
|
return [
|
|
|
|
|
|
|
|
'url_shortener' => [
|
|
|
|
'domain' => [
|
|
|
|
'schema' => 'http',
|
2022-08-21 06:19:27 -05:00
|
|
|
'hostname' => sprintf('localhost:%s', match (true) {
|
2022-08-27 06:01:38 -05:00
|
|
|
runningInRoadRunner() => '8800',
|
|
|
|
default => '8000',
|
2022-08-21 06:19:27 -05:00
|
|
|
}),
|
2019-12-17 14:20:24 -06:00
|
|
|
],
|
2022-08-06 02:37:15 -05:00
|
|
|
// 'multi_segment_slugs_enabled' => true,
|
2022-09-30 10:19:07 -05:00
|
|
|
// 'trailing_slash_enabled' => true,
|
2019-12-17 14:20:24 -06:00
|
|
|
],
|
|
|
|
|
|
|
|
];
|