From eb9cbd9f665577725b17e24f6db01ffb73267ae7 Mon Sep 17 00:00:00 2001 From: Lucas Schumacher Date: Wed, 1 Nov 2023 17:15:29 -0400 Subject: [PATCH] Clean up src --- client/src/components/Login.vue | 16 ---------- client/src/components/Signup.vue | 10 ------ src/main.rs | 55 -------------------------------- 3 files changed, 81 deletions(-) diff --git a/client/src/components/Login.vue b/client/src/components/Login.vue index fcc08f5..ff5039c 100644 --- a/client/src/components/Login.vue +++ b/client/src/components/Login.vue @@ -17,18 +17,8 @@ async function login(ev) { } } - console.log(user.value) - console.log(pass.value) - console.log(api_url) - console.log(payload) - console.log(fetch_options) - let resp = await fetch(api_url, fetch_options) - console.log(resp) if (resp.ok) { - let ans = await resp.json() - console.log(ans) - window.location.hash = "/" } else { user.value = '' @@ -38,7 +28,6 @@ async function login(ev) { onMounted(async () => { let resp = await fetch("/api/user") - console.log(resp) if (resp.ok) { window.location.hash = "/" } @@ -71,11 +60,6 @@ onMounted(async () => {