Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ You could set the endpoint by:
export GEN3_ARBORIST_ENDPOINT=${arborist_service}
```

If not set, Guppy will skip all authorization steps as default.
But if you just want to mock your own authorization behavior for local test without Arborist, just set `INTERNAL_LOCAL_TEST=true`.
Please look into `/src/server/utils/accessibilities.js` for more details.
If not set, it would default to `http://arborist-service`. You could set it to `mock` to
skip all authorization steps. But if you just want to mock your own authorization
behavior for local test without Arborist, just set `INTERNAL_LOCAL_TEST=true`. Please
look into `/src/server/auth/utils.js` for more details.

#### Tier access
Guppy also support 3 different levels of tier access, by setting `TIER_ACCESS_LEVEL`:
Expand Down
2 changes: 1 addition & 1 deletion src/server/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const config = {

port: 80,
path: '/graphql',
arboristEndpoint: 'mock',
arboristEndpoint: 'http://arborist-service',
tierAccessLevel: 'private',
tierAccessLimit: 1000,
logLevel: 'INFO',
Expand Down