From 3f422d9bf0d3fd7775d5c35d84022a817a12f3ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Tue, 21 Jan 2020 09:49:19 +0100 Subject: [PATCH] Localhost no mas --- public/index.html | 6 +++--- src/components/RegisterPage.vue | 20 ++++---------------- 2 files changed, 7 insertions(+), 19 deletions(-) diff --git a/public/index.html b/public/index.html index 18f1645..5231c0c 100644 --- a/public/index.html +++ b/public/index.html @@ -2,12 +2,12 @@ Vinlottis - +
- + - + diff --git a/src/components/RegisterPage.vue b/src/components/RegisterPage.vue index ac74901..2d5e0dc 100644 --- a/src/components/RegisterPage.vue +++ b/src/components/RegisterPage.vue @@ -39,25 +39,13 @@
- +
- +
- +

@@ -136,7 +124,7 @@ export default { } } - let _response = await fetch("http://localhost:30030/api/log/", { + let _response = await fetch("/api/log/", { headers: { "Content-Type": "application/json" // 'Content-Type': 'application/x-www-form-urlencoded',