Remove unused testing term variable

main
Elnu 2 years ago committed by GitHub
parent c7f6aa98a3
commit 046ca40df3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,7 +5,6 @@ const fetch = require("node-fetch");
app.get("/", (request, response) => { app.get("/", (request, response) => {
response.writeHead(200, { "Content-Type": "application/json" }); response.writeHead(200, { "Content-Type": "application/json" });
const term = "漢字";
fetch("https://tatoeba.org/en/api_v0/search" + request.url.substring(request.url.indexOf("?"))) fetch("https://tatoeba.org/en/api_v0/search" + request.url.substring(request.url.indexOf("?")))
.then(response => response.text()) .then(response => response.text())
.then(body => { .then(body => {