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;
|
||||
return;
|
||||
}
|
||||
const data = await readJSONFile("../../data.json");
|
||||
const data = await readJSONFile("./data.json");
|
||||
ctx.body = {
|
||||
data: data
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user