Skip to content

Commit

Permalink
fix env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Aug 14, 2024
1 parent 9e54a60 commit d658fb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ export default env
export const SERVICE_NAME = env.VITE_SERVICE_NAME ?? "REPLACE_ME"

// If the current service the root service. This will only be true for portal.
export const SERVICE_IS_ROOT = Boolean(Number(env.SERVICE_IS_ROOT ?? "0"))
export const SERVICE_IS_ROOT = Boolean(Number(env.VITE_SERVICE_IS_ROOT ?? "0"))

// The protocol, domain and port of the current service.
export const SERVICE_PROTOCOL = env.SERVICE_PROTOCOL ?? "http"
export const SERVICE_DOMAIN = env.SERVICE_DOMAIN ?? "localhost"
export const SERVICE_PORT = Number(env.SERVICE_PORT ?? "8000")
export const SERVICE_PROTOCOL = env.VITE_SERVICE_PROTOCOL ?? "http"
export const SERVICE_DOMAIN = env.VITE_SERVICE_DOMAIN ?? "localhost"
export const SERVICE_PORT = Number(env.VITE_SERVICE_PORT ?? "8000")

// The base url of the current service.
// The root service does not need its name included in the base url.
Expand Down

0 comments on commit d658fb0

Please sign in to comment.