refactor: Add imports that allow for HTTPS through CLI params

This commit is contained in:
Joachim Van Herwegen
2022-07-27 12:15:37 +02:00
parent ca36d86bc6
commit 9dcba1a288
7 changed files with 121 additions and 82 deletions

View File

@@ -0,0 +1,26 @@
{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^5.0.0/components/context.jsonld",
"@graph": [
{
"comment": "Adds resolvers to assign the HTTPS CLI values to the Components.js variables.",
"@id": "urn:solid-server-app-setup:default:ShorthandResolver",
"@type": "CombinedShorthandResolver",
"resolvers": [
{
"CombinedShorthandResolver:_resolvers_key": "urn:solid-server:custom:variable:httpsKey",
"CombinedShorthandResolver:_resolvers_value": {
"@type": "KeyExtractor",
"key": "httpsKey"
}
},
{
"CombinedShorthandResolver:_resolvers_key": "urn:solid-server:custom:variable:httpsCert",
"CombinedShorthandResolver:_resolvers_value": {
"@type": "KeyExtractor",
"key": "httpsCert"
}
}
]
}
]
}