mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Static favicon asset
This commit is contained in:
parent
c899e6c4b1
commit
03e631ff17
@ -28,6 +28,9 @@
|
||||
{
|
||||
"@type": "WaterfallHandler",
|
||||
"WaterfallHandler:_handlers": [
|
||||
{
|
||||
"@id": "urn:solid-server:default:FaviconHandler"
|
||||
},
|
||||
{
|
||||
"@id": "urn:solid-server:default:StaticAssetHandler"
|
||||
},
|
||||
|
@ -10,6 +10,17 @@
|
||||
"@id": "urn:solid-server:default:StaticAssetHandler",
|
||||
"@type": "UnsupportedAsyncHandler",
|
||||
"comment": "This value can be used to set a custom handler for static assets"
|
||||
},
|
||||
{
|
||||
"@id": "urn:solid-server:default:FaviconHandler",
|
||||
"@type": "StaticAssetHandler",
|
||||
"comment": "Serves the favicon",
|
||||
"StaticAssetHandler:_assets": [
|
||||
{
|
||||
"StaticAssetHandler:_assets_key": "/favicon.ico",
|
||||
"StaticAssetHandler:_assets_value": "./templates/root/favicon.ico"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
BIN
templates/root/favicon.ico
Normal file
BIN
templates/root/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Loading…
x
Reference in New Issue
Block a user