Commit a107078c authored by nanahira's avatar nanahira

update key format

parent ef28772d
......@@ -3165,7 +3165,7 @@ if settings.modules.http
response.writeHead(200)
ret_keys = ""
for key in vip_info.cdkeys[u.query.keytype]
ret_keys = ret_keys + key + "\n"
ret_keys = ret_keys + u.query.keytype + "," + key + "\n"
response.end(addCallback(u.query.callback, ret_keys))
else if u.pathname == '/api/archive.zip' and settings.modules.tournament_mode.enabled
......
......@@ -4060,7 +4060,7 @@
ref3 = vip_info.cdkeys[u.query.keytype];
for (m = 0, len2 = ref3.length; m < len2; m++) {
key = ref3[m];
ret_keys = ret_keys + key + "\n";
ret_keys = ret_keys + u.query.keytype + "," + key + "\n";
}
response.end(addCallback(u.query.callback, ret_keys));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment