mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-27 16:26:37 +03:00
Ensured validate_url does not fail when importing config, and instead, it gets a default BC value
This commit is contained in:
parent
909ecc2387
commit
26c455616b
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ final class CustomizableAppConfig implements ArraySerializableInterface
|
||||||
'SCHEMA' => $urlShortener['domain']['schema'],
|
'SCHEMA' => $urlShortener['domain']['schema'],
|
||||||
'HOSTNAME' => $urlShortener['domain']['hostname'],
|
'HOSTNAME' => $urlShortener['domain']['hostname'],
|
||||||
'CHARS' => $urlShortener['shortcode_chars'],
|
'CHARS' => $urlShortener['shortcode_chars'],
|
||||||
'VALIDATE_URL' => $urlShortener['validate_url'],
|
'VALIDATE_URL' => $urlShortener['validate_url'] ?? true,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue