Skip to content

Commit

Permalink
hotfix/terms-and-biometric (#109)
Browse files Browse the repository at this point in the history
* feat(actions): removing cache on jwt fetch

Applying no-store flag to jwt request

* refactor(page): removing duplicated layout

* ci(action): adding `development` environment
  • Loading branch information
marluanespiritusanto authored Oct 16, 2023
1 parent 2ee2072 commit 29d31c4
Show file tree
Hide file tree
Showing 3 changed files with 454 additions and 470 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd-deploy-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
build:
uses: ./.github/workflows/sub-build-push-image.yml
with:
environment: development
dockerfile_path: ./Dockerfile
dockerfile_target: runner
app_name: ${{ vars.APP_NAME }}
Expand Down
1 change: 1 addition & 0 deletions src/actions/citizen.action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const fetchAuthHeaders = async () =>
Authorization: `Basic ${process.env.CITIZENS_API_AUTH_KEY}`,
'Content-Type': 'application/x-www-form-urlencoded',
},
cache: 'no-cache',
})
.then<CitizensTokenResponse>(unwrap)
.then(({ access_token }) => ({
Expand Down
Loading

0 comments on commit 29d31c4

Please sign in to comment.