get image
This commit is contained in:
parent
da4b878859
commit
7260601060
@ -18,7 +18,7 @@ const GetImageHandler: RequestHandler<Txt2ImgRequest, any> = async (ctx, next) =
|
|||||||
ctx.body = 200;
|
ctx.body = 200;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const data = await readJSONFile("../../data.json");
|
const data = await readJSONFile("./data.json");
|
||||||
ctx.body = {
|
ctx.body = {
|
||||||
data: data
|
data: data
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user