Кто скинул этот мем?
-
-
- {{ name }}
-
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/Login.vue b/frontend/src/components/Login.vue
index 1d89d9b..3ec8879 100644
--- a/frontend/src/components/Login.vue
+++ b/frontend/src/components/Login.vue
@@ -23,7 +23,7 @@ export default {
methods: {
login: function() {
axios
- .post('http://localhost:3000/auth', {
+ .post(process.env.VUE_APP_BACKEND + '/auth', {
"pass": this.answer,
})
.then(response => {
@@ -34,7 +34,6 @@ export default {
},
mounted() {
this.question = process.env.VUE_APP_QUESTION
-
this.login()
}
}
diff --git a/frontend/src/components/Result.vue b/frontend/src/components/Result.vue
new file mode 100644
index 0000000..aaf7ba3
--- /dev/null
+++ b/frontend/src/components/Result.vue
@@ -0,0 +1,32 @@
+
+
+
Нет, это был не {{ selectedName }} 😢
+
+ {{ name }} {{ date }}
+
+
+
+
+
+
+
\ No newline at end of file