Skip to content

Commit

Permalink
fix: production api URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Jul 13, 2023
1 parent b63d3f9 commit e7f9c09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

name: build-prod
env:
ALBY_API_URL: "https://getalby.com/api"
ALBY_API_URL: "https://api.getalby.com"

permissions:
issues: write
Expand Down
2 changes: 1 addition & 1 deletion doc/SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- Opera\
`$ yarn run dev:opera`

**NOTE:** by default, the extension built this way will talk to the testnet API (which runs under [app.regtest.getalby.com](https://app.regtest.getalby.com/api)). In case you want to do manual tests against the mainnet API, add the following `ALBY_API_URL` environment variable to your command: `$ ALBY_API_URL="https://getalby.com/api" yarn run dev:your-browser-of-choice`
**NOTE:** by default, the extension built this way will talk to the testnet API (which runs under [api.regtest.getalby.com](https://api.regtest.getalby.com)). In case you want to do manual tests against the mainnet API, add the following `ALBY_API_URL` environment variable to your command: `$ ALBY_API_URL="https://api.getalby.com" yarn run dev:your-browser-of-choice`

- **Chrome**

Expand Down
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { devices } from "@playwright/test";
*/
// require('dotenv').config();

if (process.env.ALBY_API_URL === "https://getalby.com/api") {
if (process.env.ALBY_API_URL === "https://api.getalby.com") {
console.error(
`
----
Expand Down

0 comments on commit e7f9c09

Please sign in to comment.