don't hardcode api and web endpoints

This commit is contained in:
Pablo Martin 2025-03-31 16:27:21 +02:00
parent 873493f697
commit 72594c34c1
4 changed files with 13 additions and 5 deletions

View file

@ -38,7 +38,7 @@ const loginFunction = () => {
nostrLoginButton.disable();
successPopup.display();
setTimeout(() => {
window.location.href = constants.API_PATHS.home;
window.location.href = constants.WEB_PATHS.home;
}, constants.DEFAULT_REDIRECT_DELAY);
}
},