add YOURLS API samples for extractUrl validation

This commit is contained in:
El RIDO 2024-01-07 17:45:01 +01:00
parent fd82b937a9
commit 405479642f
6 changed files with 130 additions and 17 deletions

View file

@ -113,8 +113,8 @@ exports.jscBase64String = function() {
};
// provides a random URL schema supported by the whatwg-url library
exports.jscSchemas = function() {
return jsc.elements(schemas);
exports.jscSchemas = function(withFtp = true) {
return jsc.elements(withFtp ? schemas : schemas.slice(1));
};
// provides a random supported language string