Microfrontend Integration
This commit is contained in:
parent
a37d322994
commit
271007044a
3 changed files with 18 additions and 1 deletions
6
frontend/header/legacy-integration.js
Normal file
6
frontend/header/legacy-integration.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
const payment = new URLSearchParams(window.location.search).get("payment");
|
||||
|
||||
if (payment === "success" || payment === "failure") {
|
||||
document.querySelector(".content").src =
|
||||
`/app/virtual-machines?payment=${payment}`;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue