This commit is contained in:
parent
bc497c7dea
commit
30eccd0be5
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ module.exports = {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let replacedLink = "";
|
let replacedLink = "";
|
||||||
const regex = /(?<=\/)(instagram)\.com/g
|
const regex = /(?<=\/)((www\.)?instagram)\.com/g
|
||||||
if(args[0].startsWith("https://") || args[0].startsWith("http://")){
|
if(args[0].startsWith("https://") || args[0].startsWith("http://")){
|
||||||
replacedLink = args[0].replace(regex, "kkinstagram.com");
|
replacedLink = args[0].replace(regex, "kkinstagram.com");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue