Skip to content

Commit

Permalink
chore(env): remove KUB_ENV (#1527)
Browse files Browse the repository at this point in the history
  • Loading branch information
lindtvedtsebastian committed May 28, 2024
1 parent 597ded1 commit 179619d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion next-tavla/helm/tavla/env/prd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ common:
host: tavla.entur.no
configmap:
data:
KUB_ENV: prd
GOOGLE_PROJECT_ID: ent-tavla-prd
1 change: 0 additions & 1 deletion next-tavla/helm/tavla/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ common:
enabled: true
data:
NODE_ENV: production
KUB_ENV: dev
2 changes: 1 addition & 1 deletion next-tavla/src/Shared/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export function getBackendUrl() {
return process.env.KUB_ENV === 'prd'
return process.env.COMMON_ENV === 'prd'
? 'https://tavla-api.entur.no'
: 'https://tavla-api.dev.entur.no'
}

0 comments on commit 179619d

Please sign in to comment.