Skip to content

Commit adbd3ea

Browse files
committed
wip #92
1 parent cde9a18 commit adbd3ea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/common/coderbot.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,11 @@ class CoderBot {
239239
}
240240

241241
reset() {
242-
return this.$axios.post(`${this.CB}}/system/reset`);
242+
return this.$axios.post(`${this.CB}/system/reset`);
243243
}
244244

245245
restart() {
246-
return this.$axios.post(`${this.CB}}/system/restart`);
246+
return this.$axios.post(`${this.CB}/system/restart`);
247247
}
248248

249249
reboot() {
@@ -273,7 +273,7 @@ class CoderBot {
273273
}
274274

275275
restoreSettings() {
276-
return this.$axios.post(`${this.CB}/restoreSettings`);
276+
return this.$axios.post(`${this.CB}/settings/restore`);
277277
}
278278

279279
updateFromPackage(formdata, config) {

src/i18n/locales/it/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@
260260
"settings_music_package_removed": "Pacchetto rimosso",
261261
"settings_updated": "Impostazioni aggiornate",
262262
"settings_network_updated": "Impostazioni di rete aggiornate",
263-
"coderbot_status_shutting_down": "Coderbot in spegnimento..",
263+
"coderbot_status_shutting_down": "Coderbot in spegnimento...",
264264
"coderbot_restart_start": "Riavvio iniziato...",
265265
"coderbot_status_online": "CoderBot è online",
266266
"coderbot_status_offline": "CoderBot irrangiungibile",

0 commit comments

Comments
 (0)