From 3538f87ec9939580190e848a5dbae51d2bb61534 Mon Sep 17 00:00:00 2001 From: tsukino <87639218+0xtsukino@users.noreply.github.com> Date: Tue, 20 Aug 2024 02:18:57 -0400 Subject: [PATCH] fix: add alpha.6 build to docker (#28) --- apps/Dockerfile | 1 + server/index.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/Dockerfile b/apps/Dockerfile index 3de050d..1d70788 100644 --- a/apps/Dockerfile +++ b/apps/Dockerfile @@ -9,6 +9,7 @@ COPY . . RUN curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y RUN npm i RUN npm i --prefix rs/verifier/ +RUN npm i --prefix rs/0.1.0-alpha.6/ RUN npm run build # Create image for the app by copying build artifacts from builder diff --git a/server/index.tsx b/server/index.tsx index 72c971f..8c3fa00 100644 --- a/server/index.tsx +++ b/server/index.tsx @@ -97,7 +97,7 @@ app.get('/ipfs/:cid', async (req, res) => { * redirect to root if verification fails */ if (!jsonProof.version && jsonProof.notaryUrl) { - const proof = await verifyV6( + const proof = await verify( file, await fetchPublicKeyFromNotary(jsonProof.notaryUrl), );