mirror of
https://github.com/shlinkio/shlink.git
synced 2025-01-07 12:27:31 +03:00
21 lines
460 B
Text
21 lines
460 B
Text
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use function Shlinkio\Shlink\Config\runningInRoadRunner;
|
|
|
|
return [
|
|
|
|
'url_shortener' => [
|
|
'domain' => [
|
|
'schema' => 'http',
|
|
'hostname' => sprintf('localhost:%s', match (true) {
|
|
runningInRoadRunner() => '8800',
|
|
default => '8000',
|
|
}),
|
|
],
|
|
// 'multi_segment_slugs_enabled' => true,
|
|
// 'trailing_slash_enabled' => true,
|
|
],
|
|
|
|
];
|