mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 23:53:13 +09:00
Slave display now only shows connected slaves, autoupdates, trangartime
Added hidden option to show dates in trangartime y-ymd-ymd-y instead of ISO 6801 Ctrl+shift+i g.trangarTime = true
This commit is contained in:
1 parent
37fdbb68d1
commit
eb786ff146
3 files changed
+21
-5
No files matched your search
@@ -45,6 +45,7 @@ db.items.additem = function(object) {
|
||||
}
|
||||
var slaves = {}
|
||||
// world ID management
|
||||
// slaves post here to tell the server they exist
|
||||
app.post("/getID", function(req,res) {
|
||||
// request.body should be an object
|
||||
// {rconPort, rconPassword, serverPort, mac, time}
|
||||
@@ -55,7 +56,6 @@ app.post("/getID", function(req,res) {
|
||||
console.log("Slave: " + req.body.mac + " : " + req.body.serverPort)
|
||||
}
|
||||
});
|
||||
|
||||
// endpoint for getting information about all our slaves
|
||||
app.get("/slaves", function(req, res) {
|
||||
res.header("Access-Control-Allow-Origin", "*");
|
||||
|
||||
Reference in new issue
Block a user