instant-workstation/frontend/header/legacy-integration.js

6 lines
229 B
JavaScript
Raw Permalink Normal View History

2026-09-05 15:41:36 +03:00
const payment = new URLSearchParams(window.location.search).get("payment");
if (payment === "success" || payment === "failure") {
document.querySelector(".content").src =
`/app/virtual-machines?payment=${payment}`;
}