mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-25 10:20:18 -06:00
24 lines
571 B
PHP
24 lines
571 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
use Shlinkio\Shlink\Core\Options\UrlShortenerOptions;
|
|
|
|
use function Shlinkio\Shlink\Common\env;
|
|
|
|
return [
|
|
|
|
'url_shortener' => [
|
|
'domain' => [
|
|
'schema' => env('SHORTENED_URL_SCHEMA', 'http'),
|
|
'hostname' => env('SHORTENED_URL_HOSTNAME'),
|
|
],
|
|
'shortcode_chars' => env('SHORTCODE_CHARS', UrlShortenerOptions::DEFAULT_CHARS),
|
|
'validate_url' => true,
|
|
'not_found_short_url' => [
|
|
'enable_redirection' => false,
|
|
'redirect_to' => null,
|
|
],
|
|
],
|
|
|
|
];
|