Commit 2e01e883 authored by Peter Xin's avatar Peter Xin

Fix

parent cb0e2159
......@@ -15,7 +15,7 @@ let getUserConfig = function(user, callback) {
// 原 HTTP POST 抓取数据保留
let address = config.arena.address;
// let ak = config.arena.ak;
request.get(address + user.username, function (err, res, body) {
request.get(address + encodeURIComponent(user.username), function (err, res, body) {
if (err)
{
console.log ("failed to load user data for" + user.username + "for error" + err);
......
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