Change /notes2 to /

This commit is contained in:
Magnus Åhall 2026-05-29 09:03:59 +02:00
parent 662053e750
commit f3e16207a6
5 changed files with 10 additions and 16 deletions

View file

@ -29,7 +29,7 @@ class Login {
const password = document.getElementById('password').value
API.authenticate(username, password)
.then(ans=>{
location.href = '/notes2'
location.href = '/'
})
.catch(e=>{
setTimeout(()=>this.errorDiv.innerText = e, 75)