Skip to content

Commit

Permalink
Deploy ready
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsahMohammad committed Sep 16, 2023
1 parent 298965c commit e659b46
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion studySenseClient/src/LoginPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function App() {
secure: true,
});
console.log(data);
window.location.href = "https://studysenseai.netlify.app/app/";
window.location.href = "app/";
});
} else {
console.error("Failed to authenticate");
Expand Down
2 changes: 1 addition & 1 deletion studySenseClient/src/Menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function App() {
const token = user.token;
// handling authentication
if (!token) {
window.location.href = "https://studysenseai.netlify.app/";
window.location.href = "";
}

const [selectedPDFUrl, setSelectedPDFUrl] = useState(null);
Expand Down
2 changes: 1 addition & 1 deletion studySenseClient/src/Register.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function App() {
sameSite: "None",
secure: true,
});
window.location.href = "https://studysenseai.netlify.app/";
window.location.href = "";
})
.catch((error) => {
console.error("Error occurred while registering user:", error);
Expand Down

0 comments on commit e659b46

Please sign in to comment.