From 6588172e665bb5218b61dd213caf6c8c13ef1cbd Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 17 Sep 2021 16:22:37 +0200 Subject: [PATCH] fix location --- packages/ipfs-api/src/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ipfs-api/src/server.ts b/packages/ipfs-api/src/server.ts index 0df4a67c..58af20af 100644 --- a/packages/ipfs-api/src/server.ts +++ b/packages/ipfs-api/src/server.ts @@ -42,7 +42,7 @@ require("dotenv").config(); app.use(cors()); // create the routes - app.get("/migrate/:cid", (req: Request, res: Response) => { + app.get("/ipfs/migrate/:cid", (req: Request, res: Response) => { return handleGetLink(req, res, recordsDB); });