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