🐛 Fix dash. api (#1024)
This commit is contained in:
1 parent
240747307d
commit
ba659b6247
3 files changed
+14
-12
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user