* Added error display to every axios server call

* Added better destroy of login token if invalid
* Block users from opening notes they don't own, note closes automatically
* Beefed up login and home page a little to make them more appealing
This commit is contained in:
Max G committed 2020-04-14 05:09:19 +00:00
1 parent 278b204b3b
commit 2b8f70b5fa
19 files changed
+113 -22

No files matched your search

+2 -1
View File
@@ -55,7 +55,8 @@ io.on('connection', function(socket){
.then(userData => {
socket.join(userData.id)
}).catch(error => {
console.log(error)
//Don't add user to room if they are not logged in
// console.log(error)
})
})