mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-04 12:12:03 +03:00
24 lines
605 B
Text
24 lines
605 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,
|
|
// 'trailing_slash_enabled' => true,
|
|
],
|
|
|
|
];
|