Created
November 24, 2020 15:42
-
-
Save raloliver/c97bed59228b1d4cb96b86da216086ca to your computer and use it in GitHub Desktop.
serviceconfig.json (remove cors)
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
{ | |
"log": ["*"], | |
"CORS": { | |
"origin": ["http://localhost:4200"], | |
"loginOrigin": ["http://localhost:4200"], | |
"headers": ["Content-Type", "x-caller-chain"], | |
"maxAge": 1728000 | |
}, | |
"adminInterface": "127.0.0.1:4985", | |
"interface": "0.0.0.0:4984", | |
"databases": { | |
"database-name": { | |
"server": "walrus:data", | |
"users": { | |
"GUEST": { "disabled": false, "admin_channels": ["*"] } | |
}, | |
"allow_conflicts": false, | |
"revs_limit": 20, | |
"bucket": "bucket-name" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment