fix: add alpha.6 build to docker (#28)

This commit is contained in:
tsukino
2024-08-20 02:18:57 -04:00
committed by GitHub
parent 259f8136eb
commit 3538f87ec9
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

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