From 2e70e2e5543b76facc9d481eba4acc7bfd4c3377 Mon Sep 17 00:00:00 2001 From: Torsten Schulz Date: Mon, 24 Jun 2024 21:11:29 +0200 Subject: [PATCH] removed .env --- src/content/authentication/RegisterContent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/authentication/RegisterContent.vue b/src/content/authentication/RegisterContent.vue index 2a88cb2..31ca018 100644 --- a/src/content/authentication/RegisterContent.vue +++ b/src/content/authentication/RegisterContent.vue @@ -41,7 +41,7 @@ export default { methods: { async register() { try { - const response = await fetch('http://localhost:3000/register', { + const response = await fetch('/register', { method: 'POST', headers: { 'Content-Type': 'application/json'