mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-17 07:49:54 +03:00
Imported function in config file
This commit is contained in:
parent
c8346bc5f8
commit
97a54aef06
1 changed files with 4 additions and 4 deletions
|
@ -1,17 +1,17 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
use Shlinkio\Shlink\Common;
|
||||
use Shlinkio\Shlink\Core\Service\UrlShortener;
|
||||
use function Shlinkio\Shlink\Common\env;
|
||||
|
||||
return [
|
||||
|
||||
'url_shortener' => [
|
||||
'domain' => [
|
||||
'schema' => Common\env('SHORTENED_URL_SCHEMA', 'http'),
|
||||
'hostname' => Common\env('SHORTENED_URL_HOSTNAME'),
|
||||
'schema' => env('SHORTENED_URL_SCHEMA', 'http'),
|
||||
'hostname' => env('SHORTENED_URL_HOSTNAME'),
|
||||
],
|
||||
'shortcode_chars' => Common\env('SHORTCODE_CHARS', UrlShortener::DEFAULT_CHARS),
|
||||
'shortcode_chars' => env('SHORTCODE_CHARS', UrlShortener::DEFAULT_CHARS),
|
||||
],
|
||||
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue