diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index c0aa0ca..0803808 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,6 +5,7 @@
+
@@ -30,7 +31,7 @@
-
+
@@ -43,7 +44,8 @@
-
+
+
1597348071361
@@ -199,7 +201,14 @@
1597355794310
-
+
+ 1597356192344
+
+
+
+ 1597356192344
+
+
@@ -223,10 +232,10 @@
-
+
-
+
@@ -239,14 +248,14 @@
-
+
-
-
+
+
-
+
@@ -259,9 +268,9 @@
-
+
-
+
\ No newline at end of file
diff --git a/app.js b/app.js
index b97c5e2..13e0eb4 100644
--- a/app.js
+++ b/app.js
@@ -51,7 +51,7 @@ let kara = new Vue({
setTimeout(() => {
this.aiMessage(
// this.getAnswer(message)
- this.getAnswerFromDB(message)
+ this.getAnswer(message)
);
this.scrollDown();
}, 3000);
@@ -144,18 +144,18 @@ let kara = new Vue({
return 'I don\'t know what to say..';
},
- getAnswerFromDB(message) {
- let answer = null;
-
- axios.post('/karaAI/', {
- message: message
- })
- .then(function (response) {
- console.log(response);
- })
- .catch(function (error) {
- console.log(error)
- })
- }
+ // getAnswerFromDB(message) {
+ // let answer = null;
+ //
+ // axios.post('/karaAI/', {
+ // message: message
+ // })
+ // .then(function (response) {
+ // console.log(response);
+ // })
+ // .catch(function (error) {
+ // console.log(error)
+ // })
+ // }
}
})
\ No newline at end of file