mirror of
https://github.com/tlsnotary/explorer.git
synced 2026-01-08 20:38:02 -05:00
fix: add alpha.6 build to docker (#28)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user