shlink/config/autoload/url-shortener.global.php

23 lines
556 B
PHP
Raw Normal View History

<?php
2017-10-12 11:13:20 +03:00
declare(strict_types=1);
2016-08-01 15:36:39 +03:00
use Shlinkio\Shlink\Core\Service\UrlShortener;
2017-10-21 12:28:44 +03:00
use function Shlinkio\Shlink\Common\env;
2016-08-01 15:36:39 +03:00
return [
'url_shortener' => [
'domain' => [
2017-10-21 12:28:44 +03:00
'schema' => env('SHORTENED_URL_SCHEMA', 'http'),
'hostname' => env('SHORTENED_URL_HOSTNAME'),
],
2017-10-21 12:28:44 +03:00
'shortcode_chars' => env('SHORTCODE_CHARS', UrlShortener::DEFAULT_CHARS),
'validate_url' => true,
'not_found_short_url' => [
'enable_redirection' => false,
'redirect_to' => null,
],
],
];