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