Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: StaticAssetHandler can link a container to a document
- Loading branch information
Showing
7 changed files
with
72 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
{ | ||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^6.0.0/components/context.jsonld", | ||
"import": [ | ||
"css:config/app/init/base/init.json", | ||
"css:config/app/init/default.json", | ||
"css:config/app/init/initializers/prefilled-root.json" | ||
], | ||
"@graph": [ | ||
{ | ||
"comment": "These handlers are called only for the Primary process whenever the server is started, and can be used to ensure that all necessary resources for booting are available. (in singlethreaded mode, these are always called)", | ||
"comment": "Initializes the root container resource.", | ||
"@id": "urn:solid-server:default:PrimaryParallelInitializer", | ||
"@type": "ParallelHandler", | ||
"handlers": [ | ||
{ "@id": "urn:solid-server:default:RootInitializer" } | ||
] | ||
}, | ||
{ | ||
"comment": "These handlers are called only for the workers processes whenever the server is started, and can be used to ensure that all necessary resources for booting are available. (in singlethreaded mode, these are always called)", | ||
"@id": "urn:solid-server:default:WorkerParallelInitializer", | ||
"@type": "ParallelHandler", | ||
"handlers": [ ] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
{ | ||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^6.0.0/components/context.jsonld", | ||
"import": [ | ||
"css:config/app/init/base/init.json", | ||
"css:config/app/init/default.json", | ||
"css:config/app/init/initializers/root.json" | ||
], | ||
"@graph": [ | ||
{ | ||
"comment": "These handlers are called only for the Primary process whenever the server is started, and can be used to ensure that all necessary resources for booting are available. (in singlethreaded mode, these are always called)", | ||
"comment": "Initializes the root container resource.", | ||
"@id": "urn:solid-server:default:PrimaryParallelInitializer", | ||
"@type": "ParallelHandler", | ||
"handlers": [ | ||
{ "@id": "urn:solid-server:default:RootInitializer" } | ||
] | ||
}, | ||
{ | ||
"comment": "These handlers are called only for the workers processes whenever the server is started, and can be used to ensure that all necessary resources for booting are available. (in singlethreaded mode, these are always called)", | ||
"@id": "urn:solid-server:default:WorkerParallelInitializer", | ||
"@type": "ParallelHandler", | ||
"handlers": [ ] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^6.0.0/components/context.jsonld", | ||
"import": [ | ||
"css:config/app/init/default.json" | ||
], | ||
"@graph": [ | ||
{ | ||
"comment": "Sets the root of the server to a static page.", | ||
"@id": "urn:solid-server:default:StaticAssetHandler", | ||
"@type": "StaticAssetHandler", | ||
"assets": [ | ||
{ | ||
"StaticAssetHandler:_assets_key": "/", | ||
"StaticAssetHandler:_assets_value": "@css:templates/root/prefilled/base/index.html" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters