Closed pbmarcano closed 6 months ago
Trying to setup this relay with the docker image.
When I'm inviting the first user and I get a 500 error POSTing to /add-to-whitelist
Response says:
failed to add to whitelist: pubkey <my pubkey> doesn't have permission to invite
I declared my pubkey in the environment variable RELAY_PUBKEY
Am i missing something else during setup?
scratch that. found the issue.
I had loaded an empty users.json file ({}) which left me without permissions on my own relay.
{}
removing that volume and file seems to have done the trick
Trying to setup this relay with the docker image.
When I'm inviting the first user and I get a 500 error POSTing to /add-to-whitelist
Response says:
I declared my pubkey in the environment variable RELAY_PUBKEY
Am i missing something else during setup?