Compare commits

...
Author SHA1 Message Date
30eccd0be5
IG links: Fix links using www subdomain
Some checks failed
CI / CI (push) Has been cancelled
2026-03-31 08:52:37 +02:00

View file

@ -9,7 +9,7 @@ module.exports = {
return;
}
let replacedLink = "";
const regex = /(?<=\/)(instagram)\.com/g
const regex = /(?<=\/)((www\.)?instagram)\.com/g
if(args[0].startsWith("https://") || args[0].startsWith("http://")){
replacedLink = args[0].replace(regex, "kkinstagram.com");
}