fix urls
This commit is contained in:
parent
56ebd7428e
commit
e99b9fac0d
@ -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
|
||||
});
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user