mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 07:30:41 +09:00
Improved performance of /api/getFactorioLocale with caching
This commit is contained in:
1 parent
2aff63e4a1
commit
6a7042c0aa
2 files changed
+18
-10
No files matched your search
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user