Skip to content

Commit

Permalink
fix: change backend url base
Browse files Browse the repository at this point in the history
  • Loading branch information
wsdt committed Aug 13, 2024
1 parent b76911a commit 3c2c221
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/contract-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
working-directory: ./contracts

- name: Start local environment
timeout-minutes: 120
timeout-minutes: 60
run: |
pnpm start:local 2>&1 | tee local_env.log
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion contracts/script/deploy-local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async function main() {

console.log("Funding L2 done...");

const BACKEND_URL = process.env.BACKEND_URL ?? 'http://locahost:1234'
const BACKEND_URL = process.env.BACKEND_URL ?? `http://${getLocalIpAddress()}:1234`
if (!process.env.BACKEND_URL) {
console.warn('[deploy-local.ts] No BACKEND_URL defined. Might be expected for default deployments and CI. Using localhost.')
}
Expand Down

0 comments on commit 3c2c221

Please sign in to comment.