Skip to content

Commit

Permalink
fix: use empty string as backend url
Browse files Browse the repository at this point in the history
supports both preview & production url.
  • Loading branch information
EresDev committed Jan 10, 2025
1 parent c81462f commit c4eb838
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# common variables
CHAIN_ID="" # mainnet: 1, goerli: 5
FRONTEND_URL=""
BACKEND_URL="/" # if you want to work on frontend only, use "https://pay.ubq.fi"
BACKEND_URL="" # "" or if you want to work on frontend only, use "https://pay.ubq.fi"
UBIQUIBOT_PRIVATE_KEY=""
RPC_PROVIDER_URL=""
PAYMENT_TOKEN_ADDRESS="" # // DAI address, mainnet: 0x6b175474e89094c44da98b954eedeac495271d0f, goerli: 0x11fE4B6AE13d2a6055C8D9cF65c55bac32B5d844
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
env: # Set environment variables for the build
SUPABASE_URL: "https://wfzpewmlyiozupulbuur.supabase.co"
SUPABASE_ANON_KEY: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6IndmenBld21seWlvenVwdWxidXVyIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTU2NzQzMzksImV4cCI6MjAxMTI1MDMzOX0.SKIL3Q0NOBaMehH0ekFspwgcu3afp3Dl9EDzPqs1nKs"
BACKEND_URL: "/"
BACKEND_URL: ""

- name: Upload build artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
AMOUNT_IN_ETH: 30
CHAIN_ID: 100
FRONTEND_URL: "${{ env.DEPLOYMENT_URL }}"
BACKEND_URL: "/"
BACKEND_URL: ""
RPC_PROVIDER_URL: "https://rpc.ankr.com/gnosis"
UBIQUIBOT_PRIVATE_KEY: ${{ secrets.UBIQUIBOT_APP_PRIVATE_KEY_TEST }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-permit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ jobs:
AMOUNT_IN_ETH: ${{ github.event.inputs.amount }}
CHAIN_ID: 100
FRONTEND_URL: "http://localhost:8080"
BACKEND_URL: "/"
BACKEND_URL: ""
RPC_PROVIDER_URL: "https://rpc.ankr.com/gnosis"
UBIQUIBOT_PRIVATE_KEY: ${{ github.event.inputs.evmPrivateEncrypted }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A vanilla Typescript dApp for claiming Ubiquity Rewards. It also includes tools
# Common variables
CHAIN_ID="31337"
FRONTEND_URL="http://localhost:8080"
BACKEND_URL="/" # if you want to work on frontend only, use "https://pay.ubq.fi"
BACKEND_URL="" # "" or if you want to work on frontend only, use "https://pay.ubq.fi"
UBIQUIBOT_PRIVATE_KEY="0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d"
RPC_PROVIDER_URL="http://127.0.0.1:8545"
PAYMENT_TOKEN_ADDRESS="0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d"
Expand Down

0 comments on commit c4eb838

Please sign in to comment.