6 lines
229 B
JavaScript
6 lines
229 B
JavaScript
|
|
const payment = new URLSearchParams(window.location.search).get("payment");
|
||
|
|
|
||
|
|
if (payment === "success" || payment === "failure") {
|
||
|
|
document.querySelector(".content").src =
|
||
|
|
`/app/virtual-machines?payment=${payment}`;
|
||
|
|
}
|