Skip to content

Commit

Permalink
Fixed selecting different VC type when issuing
Browse files Browse the repository at this point in the history
  • Loading branch information
reinkrul committed Jul 3, 2024
1 parent a7894dd commit a56ef21
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion deploy/admin.config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
port: 1305
node:
address: "http://localhost:1323"
address: "http://localhost:8081"
1 change: 0 additions & 1 deletion deploy/node.config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
strictmode: false
url: https://mutt-classic-actually.ngrok-free.app
datadir: /opt/nuts/data
auth:
irma:
Expand Down
17 changes: 6 additions & 11 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
version: '3'
services:
nuts-node:
image: nutsfoundation/nuts-node:master
ports:
- "1323:1323"
- "8443:8443"
- "8081:8081"
- "8080:8080"
volumes:
- ./data/node:/opt/nuts/data
- ./deploy/node.config.yaml:/nuts.yaml
- ./deploy/discovery:/opt/nuts/discovery:ro
- "./deploy/certificate-and-key.pem:/opt/nuts/certificate-and-key.pem:ro"
- "./deploy/truststore.pem:/opt/nuts/truststore.pem:ro"
# did:web resolver uses the OS CA bundle, but e2e tests use a self-signed CA which can be found in truststore.pem
# So we need to mount that file to the OS CA bundle location, otherwise did:web resolving will fail due to untrusted certs.
- "./deploy/truststore.pem:/etc/ssl/certs/Nuts_RootCA.pem:ro"
#- "../../tls-certs/truststore.pem:/etc/ssl/certs/truststore.pem:ro"
environment:
NUTS_CRYPTO_STORAGE: fs
NUTS_HTTP_INTERNAL_ADDRESS: :8081
NUTS_URL: https://nuts.nl
# nuts-admin:
# build:
# context: .
Expand Down
2 changes: 1 addition & 1 deletion web/src/admin/IssueCredential.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div v-else>
<section>
<header>Credential type</header>
<select v-on:change="selectCredentialType">
<select v-on:change="e => selectCredentialType(e.target.value)">
<option :value="currentType" v-for="currentType in Object.keys(templates)" :key="currentType"
:selected="currentType === credentialType">
{{ currentType }}
Expand Down

0 comments on commit a56ef21

Please sign in to comment.