<?php declare(strict_types=1); $isSwoole = extension_loaded('swoole'); return [ 'url_shortener' => [ 'domain' => [ 'schema' => 'http', 'hostname' => sprintf('localhost:%s', $isSwoole ? '8080' : '8000'), ], 'auto_resolve_titles' => true, ], ];