mirror of
https://github.com/makeplane/plane.git
synced 2025-12-29 00:24:56 +01:00
fix: url changes (#66)
This commit is contained in:
committed by
GitHub
parent
3d565d1c41
commit
aa70661b2d
@@ -18,8 +18,8 @@
|
||||
"NEXT_PUBLIC_POSTHOG_HOST",
|
||||
"JITSU_TRACKER_ACCESS_KEY",
|
||||
"JITSU_TRACKER_HOST",
|
||||
"PRO_PLAN_MONTHLY_REDIRECT_URL",
|
||||
"PRO_PLAN_YEARLY_REDIRECT_URL"
|
||||
"NEXT_PUBLIC_PRO_PLAN_MONTHLY_REDIRECT_URL",
|
||||
"NEXT_PUBLIC_PRO_PLAN_YEARLY_REDIRECT_URL"
|
||||
],
|
||||
"pipeline": {
|
||||
"build": {
|
||||
|
||||
@@ -42,15 +42,15 @@ export const ProPlanModal: FC<ProPlanModalProps> = (props) => {
|
||||
const [tabIndex, setTabIndex] = useState(0);
|
||||
|
||||
const handleProPlaneMonthRedirection = () => {
|
||||
if (process.env.PRO_PLAN_MONTHLY_REDIRECT_URL) {
|
||||
window.open(process.env.PRO_PLAN_MONTHLY_REDIRECT_URL, "_blank");
|
||||
if (process.env.NEXT_PUBLIC_PRO_PLAN_MONTHLY_REDIRECT_URL) {
|
||||
window.open(process.env.NEXT_PUBLIC_PRO_PLAN_MONTHLY_REDIRECT_URL, "_blank");
|
||||
captureEvent("pro_plan_modal_month_redirection");
|
||||
}
|
||||
};
|
||||
|
||||
const handleProPlanYearlyRedirection = () => {
|
||||
if (process.env.PRO_PLAN_YEARLY_REDIRECT_URL) {
|
||||
window.open(process.env.PRO_PLAN_YEARLY_REDIRECT_URL, "_blank");
|
||||
if (process.env.NEXT_PUBLIC_PRO_PLAN_YEARLY_REDIRECT_URL) {
|
||||
window.open(process.env.NEXT_PUBLIC_PRO_PLAN_YEARLY_REDIRECT_URL, "_blank");
|
||||
captureEvent("pro_plan_modal_yearly_redirection");
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user