on master help sign in
Merge branch 'master' into hm/invites-refactor
commit81e5df5bb257043341d97c0c3393ee47ebee1ad6 authorHunter Miller <hunter@hmiller.dev> dateMon 28 Feb 2022, 14:05 (5 years ago) parent427900d8eb3253
9 files changed+46287−493
.nvmrc+1−1 README.md+16 package-lock.json+46192−467 package.json+2−2 src/lib/constants.ts+3 src/lib/flags.js+5 src/lib/useRoller.ts+4−22 src/lib/useRollerOptions.ts+59 src/views/Login/LoginSelector.tsx+5−1
.nvmrc+1−1
@@ -1 +1 @@
1−14.17.0
1+16.14.0
README.md+16
@@ -54,3 +54,19 @@ A proper "offline mode" for the latest iteration of Bridge is still being worked
5454## Development
5555
5656See [development.md](DEVELOPMENT.md).
57+
58+
59+## Configurable Roller Endpoint
60+
61+By default, Bridge uses Tlon's L2 Roller, but can also be configured to use your own.
62+
63+For example:
64+
65+```sh
66+REACT_APP_ROLLER_HOST=my-personal-roller.net npm run pilot-mainnet
67+```
68+
69+The following are configurable, and will otherwise fallback to the defaults in `constants`:
70+- `REACT_APP_ROLLER_HOST` - host
71+- `REACT_APP_ROLLER_PORT` - port
72+- `REACT_APP_ROLLER_TRANSPORT_TYPE` - transport type (e.g., `http` or `https`)
package-lock.json+46192−467

This diff is too big to show here.

package.json+2−2

This diff is too big to show here.

src/lib/constants.ts+3

This diff is too big to show here.

src/lib/flags.js+5

This diff is too big to show here.

src/lib/useRoller.ts+4−22

This diff is too big to show here.

src/lib/useRollerOptions.tsnew file+59

This diff is too big to show here.

src/views/Login/LoginSelector.tsx+5−1

This diff is too big to show here.