Improved performance of /api/getFactorioLocale with caching

This commit is contained in:
Danielv123 committed 2018-04-28 14:16:34 +02:00
1 parent 2aff63e4a1
commit 6a7042c0aa
2 files changed
+18 -10

No files matched your search

+1 -1
View File
@@ -782,7 +782,7 @@ Requires x-access-token header to be set. Find you api token in secret-api-token
@memberof clusterioMaster
@instance
@alias api/runCommand
@param {object} JSON {instanceID:19412312, command:"/c game.print('hello')"}
@param {object} JSON {instanceID:19412312, broadcast:false, command:"/c game.print('hello')"}
@returns {object} Status {auth: bool, message: "Informative error", data:{}}
*/
app.post("/api/runCommand", (req,res) => {