Change /notes2 to /
This commit is contained in:
parent
662053e750
commit
f3e16207a6
5 changed files with 10 additions and 16 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue