-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from verida/feature/107-allow-cors-fine-tunin…
…g-in-backend Feature/107 allow cors fine tuning in backend
- Loading branch information
Showing
8 changed files
with
7,458 additions
and
39,280 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,30 @@ | ||
CORS_HOST=http://localhost:8080/ | ||
PORT=3001 | ||
DB_URL=mongodb://localhost:27017/verida-health | ||
# Node environment. Optional, default to development | ||
NODE_ENV=development | ||
|
||
SALT=$2b$10$rqgBs0g/vBdjr2/88r2dDO | ||
# Port the server will listen to. Optional, default to 3000 | ||
PORT=3000 | ||
|
||
CLIENT_ID=641294683925-es41o3uja4ur8mfk1vs5ma2gmobm644g.apps.googleusercontent.com | ||
CLIENT_SECRET=zDtGxoAumQ3trBukA3zFrbBN | ||
CALLBACK_URL=http://localhost:3001/auth/google/callback | ||
# Boolean to enable CORS. Optional, default to true | ||
ENABLE_CORS=true | ||
|
||
# List of CORS allowed hosts separated by a ;. Optional, defaul to empty list | ||
# If CORS is enabled with an empty list, all hosts are allowed | ||
CORS_HOSTS=http://localhost:8080/;http://localhost:8081/ | ||
|
||
# URL of the mongo DB. Required | ||
DB_URL=mongodb://localhost:27017/verida-health?authSource=admin | ||
|
||
# Verida environment. Can be 'mainnet' or 'testnet'. Optional, default to 'testnet' | ||
VERIDA_ENVIRONMENT=testnet | ||
|
||
# Verida context name of the app. Required | ||
VERIDA_APP_NAME=Verida: Credential Manager | ||
|
||
# Default Verida server. Optional, default to 'https://db.testnet.verida.io:5002/' | ||
VERIDA_TESTNET_DEFAULT_SERVER=https://db.testnet.verida.io:5002/ | ||
|
||
# Salt for password hashing. Required | ||
SALT= | ||
|
||
# Secret for JWT generation. Required | ||
JWT_SECRET= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.