From 8b2b56ffcefc0d77ae447d6ec7749e65ebe5bb80 Mon Sep 17 00:00:00 2001 From: dragongoose Date: Fri, 12 May 2023 10:26:47 -0400 Subject: [PATCH] Remove echos and console.logs --- src/views/HomepageView.vue | 4 ---- substitute_environment_variables.sh | 2 -- 2 files changed, 6 deletions(-) diff --git a/src/views/HomepageView.vue b/src/views/HomepageView.vue index a351d99..1094135 100644 --- a/src/views/HomepageView.vue +++ b/src/views/HomepageView.vue @@ -37,7 +37,6 @@ export default { category.style.display = '' } else if (wantedTags[0] === '') { category.style.display = '' - console.log('ok') } else { category.style.display = 'none' } @@ -79,9 +78,6 @@ export default { try { const res = await fetch(`${this.protocol}${import.meta.env.VITE_BACKEND_DOMAIN}/api/discover`) - console.log(this.protocol, this) - console.log(import.meta.env) - const rawData = await res.json() if (rawData.status === 'ok') { this.data = rawData.data diff --git a/substitute_environment_variables.sh b/substitute_environment_variables.sh index 4222835..b71f4c4 100755 --- a/substitute_environment_variables.sh +++ b/substitute_environment_variables.sh @@ -23,8 +23,6 @@ do # Your other variables here... done -echo ${VITE_BACKEND_DOMAIN_PLACEHOLDER} - # Save old variables echo -e "VITE_BACKEND_DOMAIN_PLACEHOLDER=${VITE_BACKEND_DOMAIN}" > .env.old echo -e "VITE_INSTANCE_DOMAIN_PLACEHOLDER=${VITE_INSTANCE_DOMAIN}" >> .env.old