mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
change: Move FaviconHandler config to facilitate reuse.
This commit is contained in:
parent
c29928c32c
commit
904c069451
@ -43,6 +43,17 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"@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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -10,17 +10,6 @@
|
||||
"@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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user