fix cc way
This commit is contained in:
parent
8796b35600
commit
9394e78206
@ -18,9 +18,10 @@ export default () => {
|
|||||||
const domain = (host.includes("s") ? "s" : "") + from;
|
const domain = (host.includes("s") ? "s" : "") + from;
|
||||||
const pathname = from.includes("hub") ? "/tariffs" : "/list";
|
const pathname = from.includes("hub") ? "/tariffs" : "/list";
|
||||||
|
|
||||||
const link = `https://${domain}.pena.digital${pathname}?purpose=${purpose}&userid=${userId}`
|
let link = `https://${domain}.pena.digital${pathname}?purpose=${purpose}&userid=${userId}`
|
||||||
|
|
||||||
if (isCC) link + "&cc=true"
|
console.log("isCC")
|
||||||
|
if (isCC) link = link + "&cc=true"
|
||||||
|
|
||||||
document.location.href = link
|
document.location.href = link
|
||||||
return <></>;
|
return <></>;
|
||||||
|
Loading…
Reference in New Issue
Block a user