Skip to content

Commit f4cf9f4

Browse files
committed
Criar arquivo
1 parent 38315c6 commit f4cf9f4

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function createStatusFile() {
3131
}
3232
};
3333
const json = JSON.stringify(data, null, 2);
34-
fs.writeFile("./version/jexactyl.json", json, (err) => {
34+
fs.writeFile("/version/jexactyl.json", json, (err) => {
3535
if (err) {
3636
console.error(err.message);
3737
} else {
@@ -48,7 +48,7 @@ function createStatusFile() {
4848
lastSynced
4949
};
5050
const json_p = JSON.stringify(data_p, null, 2);
51-
fs.writeFile("./version/pterodactyl.json", json_p, (err) => {
51+
fs.writeFile("/version/pterodactyl.json", json_p, (err) => {
5252
if (err) {
5353
console.error(err.message);
5454
} else {

version/status.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"panel": "3.8.2",
3+
"wings": "1.11.5",
4+
"server": {
5+
"syncing": true,
6+
"lastSynced": "22:26:49"
7+
}
8+
}

0 commit comments

Comments
 (0)