Skip to content

Commit

Permalink
Cleanup use of env in websiteFnc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
iva2k committed Jan 18, 2024
1 parent 300b409 commit 7a6b85c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/config/websiteFnc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7a6b85c

Please sign in to comment.