Skip to content

Commit

Permalink
Remove special test config options for did:web resolution.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlongley committed Apr 14, 2024
1 parent 752cd37 commit 80eda27
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/test.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*!
* Copyright (c) 2012-2022 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2012-2024 Digital Bazaar, Inc. All rights reserved.
*/
import {agent} from '@bedrock/https-agent';
import {config} from '@bedrock/core';
import {fileURLToPath} from 'node:url';
import path from 'node:path';
Expand Down Expand Up @@ -39,6 +38,6 @@ config['app-identity'].seeds.services['vc-verifier'] = {

// use local KMS for testing
config['service-agent'].kms.baseUrl = 'https://localhost:18443/kms';
config['vc-verifier'].methods.web.fetchOptions = {agent};
// set up express to set did:web didDocuments

// set up express to serve `did:web` DID documents
config.express.static.push({route: '/test/dids', path: './.well-known'});

0 comments on commit 80eda27

Please sign in to comment.