mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 15:23:12 +08:00
Added option for enable/disable URL Validation by response status code.
This commit is contained in:
@@ -189,6 +189,7 @@ final class CustomizableAppConfig implements ArraySerializableInterface
|
||||
'SCHEMA' => $urlShortener['domain']['schema'],
|
||||
'HOSTNAME' => $urlShortener['domain']['hostname'],
|
||||
'CHARS' => $urlShortener['shortcode_chars'],
|
||||
'VALIDATE_URL' => $urlShortener['validate_url'],
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -240,6 +241,7 @@ final class CustomizableAppConfig implements ArraySerializableInterface
|
||||
'hostname' => $this->urlShortener['HOSTNAME'],
|
||||
],
|
||||
'shortcode_chars' => $this->urlShortener['CHARS'],
|
||||
'validate_url' => $this->urlShortener['VALIDATE_URL']
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user