Skip to content

Commit

Permalink
update app url env var name
Browse files Browse the repository at this point in the history
  • Loading branch information
napalmpapalam committed Nov 30, 2023
1 parent cf61f1c commit e95ebe7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ allow members to verify their humanity using the [Rarimo Proof of Humanity] case

## Configuration

- Set `APP_URL` to the URL of your application in the `.env` file. This URL will be used
- Set `APPLICATION_URL` to the URL of your application in the `.env` file. This URL will be used
to redirect users after they verify their humanity. By default, it should be `http://localhost:8000`
if you didn't change the port (check [Starting the server](#starting-the-server))
- Set `POH_APP_URL` to the according url of the Rarimo Proof of Humanity application in
Expand Down
2 changes: 1 addition & 1 deletion env-example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
APP_URL="http://localhost:8000"
APPLICATION_URL="http://localhost:8000"
POH_APP_URL="https://robotornot.mainnet-beta.rarimo.com"

# https://api-qa.collab.land/config
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const loadCfg = (): Config => {
collablandEcdsaPublicKey: process.env.COLLABLAND_ECDSA_PUBLIC_KEY,
collablandEd25519PublicKeyHex: process.env.COLLABLAND_ED25519_PUBLIC_KEY_HEX,
pohAppUrl: process.env.POH_APP_URL,
appUrl: process.env.APP_URL,
appUrl: process.env.APPLICATION_URL,
})

return validationSchema.validateSync(config, {
Expand Down

0 comments on commit e95ebe7

Please sign in to comment.