🐛 Fix dash. api (#1024)

This commit is contained in:
Manuel
2023-06-09 20:10:47 +02:00
committed by GitHub
parent 240747307d
commit ba659b6247
3 changed files with 14 additions and 12 deletions

View File

@@ -44,6 +44,7 @@ async function Get(req: NextApiRequest, res: NextApiResponse) {
? dashDotUrl.substring(0, dashDotUrl.length - 1)
: dashDotUrl;
const response = await axios.get(`${url}/info`);
// Return the response
return res.status(200).json(response.data);
}