Skip to content

Commit

Permalink
feat: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mbret committed Mar 3, 2024
1 parent 6b3ba4b commit b3f6589
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/web/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ const hostname =
? window?.location?.hostname
: sw?.location?.hostname

export const API_URI = import.meta.env.VITE_API_URL || `https://${hostname}:4000`
export const API_COUCH_URI = import.meta.env.VITE_API_COUCH_URI || `https://${hostname}:4003`
export const API_URI = import.meta.env.VITE_API_URL || `/api/dev`
export const API_COUCH_URI =
import.meta.env.VITE_API_COUCH_URI || `https://${hostname}:4003`

export const IS_MOBILE_DEVICE = isMobileDetected()

Expand Down

0 comments on commit b3f6589

Please sign in to comment.