mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-23 15:40:33 -06: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
@ -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 New Issue
Block a user