diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index 5fc3c06..7b7b6da 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -62,7 +62,7 @@ class Main extends Component { text: json.success, status: "success", }) - window.location = json.redirect; + window.open(json.redirect ,"_self") } }); }