mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 06:26:16 -04:00
add YOURLS API samples for extractUrl validation
This commit is contained in:
parent
fd82b937a9
commit
405479642f
6 changed files with 130 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue