mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 22:19:01 +08:00
fix(portal): use window.location.origin instead of the window.location.href (#6770)
* fix(portal): use window.location.origin instead of the whole URL * fix(portal): use window.location.origin instead of the whole URL
This commit is contained in:
parent
e92d055c30
commit
80740f646c
@ -272,8 +272,8 @@ function AppLayout(props: AppLayoutProps): JSX.Element {
|
|||||||
const handleFailedPayment = (): void => {
|
const handleFailedPayment = (): void => {
|
||||||
manageCreditCard({
|
manageCreditCard({
|
||||||
licenseKey: activeLicenseV3?.key || '',
|
licenseKey: activeLicenseV3?.key || '',
|
||||||
successURL: window.location.href,
|
successURL: window.location.origin,
|
||||||
cancelURL: window.location.href,
|
cancelURL: window.location.origin,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user