[BUGFIX] Update url / backup example curl command (#32984)

This commit is contained in:
Stef van Hooijdonk 2026-08-19 16:44:58 +02:00 • committed by GitHub
parent 45f49aac52
commit 80a6231a11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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");