Commit 4c49fe2d authored by nanahira's avatar nanahira

rev

parent 8c6cc362
...@@ -19,7 +19,7 @@ const https_server = https.createServer(https_options, (request, response) => { ...@@ -19,7 +19,7 @@ const https_server = https.createServer(https_options, (request, response) => {
} }
const username = path_match[1]; const username = path_match[1];
_request({ _request({
url: "https://ygobbs.com/users/" + encodeURIComponent(username) + ".json", url: "https://ygobbs.com/users/" + username + ".json",
json: true json: true
}, (error, res, body) => { }, (error, res, body) => {
if (error) { if (error) {
......
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