🐛 Fix dash. api (#1024)

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

No files matched your search

+1
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);
}