This commit is contained in:
Louis Mazin 2025-07-05 14:19:03 +02:00
parent 56ebd7428e
commit e99b9fac0d
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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