Refactor port again
This commit is contained in:
@@ -320,7 +320,7 @@ Account settings are stored in `config.json`:
|
||||
**List accounts:**
|
||||
|
||||
```bash
|
||||
curl -u username:password http://localhost:8025/api/accounts
|
||||
curl -u username:password http://localhost:8825/api/accounts
|
||||
```
|
||||
|
||||
**Add account:**
|
||||
@@ -336,7 +336,7 @@ curl -u username:password \
|
||||
"session_path": "./sessions/new-account",
|
||||
"show_qr": true
|
||||
}' \
|
||||
http://localhost:8025/api/accounts/add
|
||||
http://localhost:8825/api/accounts/add
|
||||
```
|
||||
|
||||
**Update account:**
|
||||
@@ -355,7 +355,7 @@ curl -u username:password \
|
||||
"api_version": "v21.0"
|
||||
}
|
||||
}' \
|
||||
http://localhost:8025/api/accounts/update
|
||||
http://localhost:8825/api/accounts/update
|
||||
```
|
||||
|
||||
**Disable account:**
|
||||
@@ -365,7 +365,7 @@ curl -u username:password \
|
||||
-X POST \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"id": "my-account"}' \
|
||||
http://localhost:8025/api/accounts/disable
|
||||
http://localhost:8825/api/accounts/disable
|
||||
```
|
||||
|
||||
**Enable account:**
|
||||
@@ -375,7 +375,7 @@ curl -u username:password \
|
||||
-X POST \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"id": "my-account"}' \
|
||||
http://localhost:8025/api/accounts/enable
|
||||
http://localhost:8825/api/accounts/enable
|
||||
```
|
||||
|
||||
**Remove account:**
|
||||
@@ -385,7 +385,7 @@ curl -u username:password \
|
||||
-X POST \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"id": "my-account"}' \
|
||||
http://localhost:8025/api/accounts/remove
|
||||
http://localhost:8825/api/accounts/remove
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user