diff --git a/config/presets/http.json b/config/presets/http.json index cde5b6fcc..028bde8ad 100644 --- a/config/presets/http.json +++ b/config/presets/http.json @@ -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" + } + ] } ] } diff --git a/config/presets/static.json b/config/presets/static.json index 34e0d5229..aa253b1ec 100644 --- a/config/presets/static.json +++ b/config/presets/static.json @@ -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" - } - ] } ] }