Skip to content

Commit

Permalink
update dpp recognition
Browse files Browse the repository at this point in the history
Signed-off-by: F-Node-Karlsruhe <christian.fries@eecc.de>
  • Loading branch information
F-Node-Karlsruhe committed May 2, 2023
1 parent cbeda0d commit 7d6497c
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/Passport.vue
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ export default {
isProductPassport() {
if (this.credentials.length < 1) return false;
return this.credentials.filter(function (credential) {
return credential['@context'].some(c => typeof c == 'string' && c.startsWith('https://ssi.eecc.de/api/registry/context/productpassport'))
return credential['@context'].some(c => typeof c == 'string' && c.startsWith('https://ssi.eecc.de/api/registry/context') && c.includes('/productpassport'))
}).length > 0;
}
}
2 changes: 1 addition & 1 deletion frontend/src/store/index.js
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ import { createStore } from 'vuex'

export default createStore({
state: {
version: '1.4.2',
version: '1.4.3',
verifiables: [],
VC_REGISTRY: process.env.VC_REGISTRY || 'https://ssi.eecc.de/api/registry/vcs/',
OPENID_ENDPOINT: process.env.OPENID_ENDPOINT || 'https://ssi.eecc.de/api/openid/',

0 comments on commit 7d6497c

Please sign in to comment.