log
This commit is contained in:
parent
229b9ab888
commit
643f96bcf0
|
@ -35,6 +35,7 @@ require("dotenv").config();
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/ipfs/name/resolve/:name", async (req: Request, res: Response) => {
|
app.get("/ipfs/name/resolve/:name", async (req: Request, res: Response) => {
|
||||||
|
console.log(`${IPFS_INTERNAL_API}/api/v0/name/resolve?arg=${req.params.name}`);
|
||||||
return await got.post(`${IPFS_INTERNAL_API}/api/v0/name/resolve?arg=${req.params.name}`).json();
|
return await got.post(`${IPFS_INTERNAL_API}/api/v0/name/resolve?arg=${req.params.name}`).json();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Reference in New Issue