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