Skip to content

Commit

Permalink
Remove process.env usages
Browse files Browse the repository at this point in the history
  • Loading branch information
vitvakatu committed Dec 20, 2024
1 parent 0e2313f commit 06f6eb6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/gui/src/dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ import { MotionGlobalConfig } from 'framer-motion'
export type { GraphEditorRunner } from '#/layouts/Editor'

const HTTP_STATUS_BAD_REQUEST = 400
const API_HOST =
process.env.ENSO_CLOUD_API_URL != null ? new URL(process.env.ENSO_CLOUD_API_URL).host : null
const API_HOST = $config.API_URL != null ? new URL($config.API_URL).host : null
const ARE_ANIMATIONS_DISABLED =
window.DISABLE_ANIMATIONS === true ||
localStorage.getItem('disableAnimations') === 'true' ||
Expand Down

0 comments on commit 06f6eb6

Please sign in to comment.