Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Fixes development env
Browse files Browse the repository at this point in the history
  • Loading branch information
philiphand committed Feb 25, 2021
1 parent b9d2d2e commit a155a4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloud.dev.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ steps:
env: ['CI=true']
args: ['run', 'test']
- name: 'gcr.io/cloud-builders/npm'
env: ['CI=true', 'NODE_ENV=dev']
env: ['CI=true', 'NODE_ENV=development']
args: ['run', 'build']
- name: 'gcr.io/cloud-builders/gsutil'
args: ['-m', 'cp', '-r', 'build/*', 'gs://effekt-widget-react-dev/']
2 changes: 1 addition & 1 deletion src/config/api.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
let apiUrl;

switch (process.env.NODE_ENV) {
case "dev":
case "development":
apiUrl = "https://dev.data.gieffektivt.no";
break;
case "stage":
Expand Down

0 comments on commit a155a4b

Please sign in to comment.