Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
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