We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f803d24 commit f040cf9Copy full SHA for f040cf9
inventory-manager.html
@@ -837,7 +837,7 @@ <h2 id="single-item-name" class="single-item-name"></h2>
837
document.getElementById('logout-btn').addEventListener('click', handleLogout);
838
document.getElementById('create-item-btn').addEventListener('click', createNewItem);
839
document.getElementsByClassName('login-btn')[0].addEventListener('click', () => {
840
- window.location.href = 'https://rotur.dev/auth?redirect=' + encodeURIComponent(window.location.href);
+ window.location.href = 'https://rotur.dev/auth?return_to=' + encodeURIComponent(window.location.href);
841
});
842
843
0 commit comments