Skip to content

Commit

Permalink
Merge pull request #1758 from airqo-platform/staging
Browse files Browse the repository at this point in the history
move to production
  • Loading branch information
Baalmart authored Dec 9, 2023
2 parents b049b0e + 1ef5168 commit ee985fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s/netmanager/values-prod.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
replicaCount: 2
image:
repository: eu.gcr.io/airqo-250220/airqo-platform-frontend
tag: prod-af07e650-1701957599
tag: prod-b049b0ea-1702057491
pullPolicy: Always
imagePullSecrets: []
nameOverride: ''
Expand Down
2 changes: 1 addition & 1 deletion k8s/netmanager/values-stage.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
replicaCount: 2
image:
repository: eu.gcr.io/airqo-250220/airqo-stage-platform-frontend
tag: stage-ddf8111c-1701957515
tag: stage-959597c9-1702057310
pullPolicy: Always
imagePullSecrets: []
nameOverride: ''
Expand Down
3 changes: 3 additions & 0 deletions platform/src/core/apis/axiosConfig.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import axios from 'axios';
import { NEXT_PUBLIC_API_BASE_URL } from '../../lib/envConstants';

// Function to get JWT Token
const getJwtToken = () => {
Expand All @@ -24,6 +25,8 @@ const createAxiosInstance = (isJWT = true) => {
delete config.headers['Authorization'];
config.params = { ...config.params, token: API_TOKEN };
}
config.withCredentials = true;
config.baseURL = NEXT_PUBLIC_API_BASE_URL;
return config;
},
(error) => {
Expand Down

0 comments on commit ee985fa

Please sign in to comment.