[BUGFIX] Update url / backup example curl command (#32984)
This commit is contained in:
parent
45f49aac52
commit
80a6231a11
1 changed files with 2 additions and 2 deletions
|
|
@ -127,9 +127,9 @@ export default defineComponent({
|
|||
},
|
||||
curlExample(): string {
|
||||
const key = this.revealedKey ?? "";
|
||||
const url = `${window.location.origin}/api/system/backup`;
|
||||
const url = `${window.location.origin}/api/db/backup`;
|
||||
return [
|
||||
`curl -X POST ${url} \\`,
|
||||
`curl -X GET ${url} \\`,
|
||||
` -H "Authorization: Bearer ${key}" \\`,
|
||||
` -o evcc-backup.db`,
|
||||
].join("\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue