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), );