We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38315c6 commit f4cf9f4Copy full SHA for f4cf9f4
2 files changed
index.js
@@ -31,7 +31,7 @@ function createStatusFile() {
31
}
32
};
33
const json = JSON.stringify(data, null, 2);
34
- fs.writeFile("./version/jexactyl.json", json, (err) => {
+ fs.writeFile("/version/jexactyl.json", json, (err) => {
35
if (err) {
36
console.error(err.message);
37
} else {
@@ -48,7 +48,7 @@ function createStatusFile() {
48
lastSynced
49
50
const json_p = JSON.stringify(data_p, null, 2);
51
- fs.writeFile("./version/pterodactyl.json", json_p, (err) => {
+ fs.writeFile("/version/pterodactyl.json", json_p, (err) => {
52
53
54
version/status.json
@@ -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