Commit a40ea15d authored by Pavel Mishakov's avatar Pavel Mishakov

#1 - added console

parent b902c703
...@@ -3,6 +3,7 @@ const getlastMessages = async() => { ...@@ -3,6 +3,7 @@ const getlastMessages = async() => {
try { try {
const response = await fetch('http://146.185.154.90:8000/messages') const response = await fetch('http://146.185.154.90:8000/messages')
const messages = await response.json() const messages = await response.json()
console.log(messages)
return messages return messages
} catch(err) { } catch(err) {
console.log(err) console.log(err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment