Skip to content

Commit

Permalink
Merge pull request #730 from clrfund/fix/create-version-error
Browse files Browse the repository at this point in the history
Fix create version error
  • Loading branch information
yuetloo authored Mar 20, 2024
2 parents 843dd23 + 9ade9e3 commit 219c1be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

env:
NODE_VERSION: 20.x
VITE_CLRFUND_FACTORY_ADDRESS: "0x5FC8d32690cc91D4c39d9d3abcBD16989F875707"
VITE_CLRFUND_ADDRESS: "0x5FC8d32690cc91D4c39d9d3abcBD16989F875707"
VITE_ETHEREUM_API_CHAINID: 1
VITE_ETHEREUM_API_URL: "dummy"
VITE_IPFS_PINNING_JWT: "dummy"
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
. "$(dirname "$0")/_/husky.sh"

# set these params so git push will work without .env
export VITE_CLRFUND_FACTORY_ADDRESS=0x5FC8d32690cc91D4c39d9d3abcBD16989F875707
export VITE_CLRFUND_ADDRESS=0x5FC8d32690cc91D4c39d9d3abcBD16989F875707
export VITE_ETHEREUM_API_CHAINID=1
export VITE_ETHEREUM_API_URL=x
export VITE_IPFS_PINNING_JWT=x
Expand Down
2 changes: 1 addition & 1 deletion vue-app/src/api/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const ipfsPinningJwt = import.meta.env.VITE_IPFS_PINNING_JWT
export const ipfsApiKey = import.meta.env.VITE_IPFS_API_KEY
export const ipfsSecretApiKey = import.meta.env.VITE_IPFS_SECRET_API_KEY
if (!ipfsPinningJwt && !(ipfsApiKey && ipfsSecretApiKey)) {
throw new Error(
console.error(
'Please setup environment variables for ' +
'VITE_IPFS_API_KEY and VITE_IPFS_SECRET_API_KEY or VITE_IPFS_PINNING_JWT',
)
Expand Down

0 comments on commit 219c1be

Please sign in to comment.