Skip to content

Commit

Permalink
chore: move REACT_APP_BASE_PATH env
Browse files Browse the repository at this point in the history
  • Loading branch information
esaminu committed Sep 21, 2023
1 parent 7452f68 commit 00cc486
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ concurrency:
cancel-in-progress: true

jobs:
env:
REACT_APP_BASE_PATH: 'fastauth'
deploy-testnet:
uses: ./.github/workflows/bundle-and-deploy.yml
with:
Expand Down
2 changes: 1 addition & 1 deletion src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ export const networks: Record<NetworkId, Network> = {

export const networkId: NetworkId = (process.env.NETWORK_ID as NetworkId) || 'mainnet';
export const network = networks[networkId];
export const basePath = process.env.REACT_APP_BASE_PATH || 'fastauth';
export const basePath = process.env.REACT_APP_BASE_PATH || '';

0 comments on commit 00cc486

Please sign in to comment.