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'