Commit 8262dfd8 authored by nanahira's avatar nanahira

update format

parent 58010692
...@@ -3173,7 +3173,7 @@ if settings.modules.http ...@@ -3173,7 +3173,7 @@ if settings.modules.http
response.writeHead(200) response.writeHead(200)
ret_keys = "" ret_keys = ""
for key in vip_info.cdkeys[u.query.keytype] for key in vip_info.cdkeys[u.query.keytype]
ret_keys = ret_keys + u.query.keytype + "," + key + "\n" ret_keys = ret_keys + u.query.keytype + "D" + settings.port + ":" + key + "\n"
response.end(addCallback(u.query.callback, ret_keys)) response.end(addCallback(u.query.callback, ret_keys))
else if u.pathname == '/api/archive.zip' and settings.modules.tournament_mode.enabled else if u.pathname == '/api/archive.zip' and settings.modules.tournament_mode.enabled
......
...@@ -4069,7 +4069,7 @@ ...@@ -4069,7 +4069,7 @@
ref3 = vip_info.cdkeys[u.query.keytype]; ref3 = vip_info.cdkeys[u.query.keytype];
for (m = 0, len2 = ref3.length; m < len2; m++) { for (m = 0, len2 = ref3.length; m < len2; m++) {
key = ref3[m]; key = ref3[m];
ret_keys = ret_keys + u.query.keytype + "," + key + "\n"; ret_keys = ret_keys + u.query.keytype + "D" + settings.port + ":" + key + "\n";
} }
response.end(addCallback(u.query.callback, ret_keys)); 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