change: Move FaviconHandler config to facilitate reuse.

This commit is contained in:
Ruben Verborgh 2021-01-29 15:39:59 +01:00
parent c29928c32c
commit 904c069451
2 changed files with 11 additions and 11 deletions

View File

@ -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"
}
]
}
]
}

View File

@ -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"
}
]
}
]
}