set primary domain
This commit is contained in:
parent
0dd3d6fe7b
commit
e78276267e
10
README.md
10
README.md
|
@ -70,15 +70,17 @@ bash /srv/walnut/core/install-helper.sh
|
|||
Initial Configuration
|
||||
-------------
|
||||
|
||||
Once installed and started you can visit <https://localhost.daplie.me:3000>.
|
||||
Once installed and started you can visit <https://localhost.daplie.me:3000> to configure the primary domain.
|
||||
|
||||
You could also do this manually via curl:
|
||||
|
||||
```bash
|
||||
PRIMARY_DOMAIN="example.com"
|
||||
|
||||
curl -X POST http://api.localhost.daplie.me:3000/api/walnut@daplie.com/init \
|
||||
-H 'X-Forwarded-Proto: https' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"domain": "example.com"
|
||||
}'
|
||||
-d '{ "domain": "'$PRIMARY_DOMAIN'" }'
|
||||
```
|
||||
|
||||
API
|
||||
|
|
Loading…
Reference in New Issue