diff --git a/commands/server/reboot-server.js b/commands/server/reboot-server.js index 9c66c38..3c3c5ff 100644 --- a/commands/server/reboot-server.js +++ b/commands/server/reboot-server.js @@ -10,7 +10,7 @@ module.exports = { try { // Vérifier l'état actuel du serveur - const statusResponse = await axios.get('https://panel.louismazin.ovh/api/client/servers/b5fa2322/resources', { + const statusResponse = await axios.get('https://panel.louismazin.ovh/api/client/servers/ae4a628f/resources', { headers: headers }); @@ -22,7 +22,7 @@ module.exports = { } // Déclencher le schedule programmé - await axios.post('https://panel.louismazin.ovh/api/client/servers/b5fa2322/schedules/1/execute', {}, { + await axios.post('https://panel.louismazin.ovh/api/client/servers/ae4a628f/schedules/1/execute', {}, { headers: headers }); diff --git a/commands/server/start-server.js b/commands/server/start-server.js index 7e233b5..196d719 100644 --- a/commands/server/start-server.js +++ b/commands/server/start-server.js @@ -10,7 +10,7 @@ module.exports = { try { // Vérifier l'état actuel du serveur - const statusResponse = await axios.get('https://panel.rygain.fr/api/client/servers/b5fa2322/resources', { + const statusResponse = await axios.get('https://panel.louismazin.ovh/api/client/servers/ae4a628f/resources', { headers: headers }); @@ -22,7 +22,7 @@ module.exports = { } // Démarrer le serveur - await axios.post('https://panel.rygain.fr/api/client/servers/b5fa2322/power', { + await axios.post('https://panel.louismazin.ovh/api/client/servers/ae4a628f/power', { signal: 'start' }, { headers: headers