mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-23 21:20:32 +03:00
17 lines
308 B
Text
17 lines
308 B
Text
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
$isSwoole = extension_loaded('openswoole');
|
|
|
|
return [
|
|
|
|
'url_shortener' => [
|
|
'domain' => [
|
|
'schema' => 'http',
|
|
'hostname' => sprintf('localhost:%s', $isSwoole ? '8080' : '8000'),
|
|
],
|
|
'auto_resolve_titles' => true,
|
|
],
|
|
|
|
];
|