Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update agent.yml with relative imports and cors fix #31

Merged
merged 2 commits into from
Jun 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ server:
$ref: /constants/port
use:
# CORS
- - $require: 'cors'
- - $require: 'cors?t=function#default'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch


# Add agent to the request object
- - $require: '@veramo/remote-server?t=function#RequestWithAgentRouter'
Expand Down Expand Up @@ -221,7 +221,7 @@ keyManager:
- $ref: /constants/secretKey
# __TEMPLATE__: you can install your own Key Management System implementation too
my:
$require: ./build#MyKeyManagementSystem
$require: ./build/index.js#MyKeyManagementSystem

# DID Manager
didManager:
Expand All @@ -235,7 +235,7 @@ didManager:
providers:
# __TEMPLATE__: you can install your customized DID provider like so
did:my:
$require: ./build#MyIdentifierProvider
$require: ./build/index.js#MyIdentifierProvider
$args:
- defaultKms: local
did:ethr:
Expand Down Expand Up @@ -279,4 +279,4 @@ agent:
$args:
- $ref: /dbConnection
# __TEMPLATE__: install your plugin on the `@veramo/cli` agent
- $require: ./build#MyAgentPlugin
- $require: ./build/index.js#MyAgentPlugin
Loading