Cleaned up repo and separated both bots into their respective folders
This commit is contained in:
parent
5414de60ca
commit
a9fda1fcb7
3134 changed files with 382980 additions and 31 deletions
6
sidBot-js/node_modules/axios/lib/helpers/parseProtocol.js
generated
vendored
Normal file
6
sidBot-js/node_modules/axios/lib/helpers/parseProtocol.js
generated
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
export default function parseProtocol(url) {
|
||||
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
||||
return match && match[1] || '';
|
||||
}
|
Reference in a new issue