From 7a6b85c43bd1eb3b1a34a2ec65d6393f04cab529 Mon Sep 17 00:00:00 2001 From: IVA2K Date: Wed, 17 Jan 2024 20:12:31 -0800 Subject: [PATCH] Cleanup use of env in websiteFnc.js --- src/lib/config/websiteFnc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/config/websiteFnc.js b/src/lib/config/websiteFnc.js index 0013ad2..24c35f1 100644 --- a/src/lib/config/websiteFnc.js +++ b/src/lib/config/websiteFnc.js @@ -37,9 +37,9 @@ const websiteFnc = ( const websiteUrlBase = 'https://total-app.iva2k.com'; const websiteUrlNetlify = 'https://total-app.netlify.app'; const websiteUrlVercel = 'https://total-app.vercel.app'; - const websiteUrl = env.NETLIFY + const websiteUrl = NETLIFY ? websiteUrlNetlify - : env.VERCEL + : VERCEL ? websiteUrlVercel : websiteUrlBase;