From 523390e4444ad693bbad087290fdb4d54b895783 Mon Sep 17 00:00:00 2001 From: Joachim Van Herwegen Date: Wed, 28 Jul 2021 11:54:02 +0200 Subject: [PATCH] fix: Remove passthrough example for index store --- config/storage/middleware/default.json | 2 ++ config/util/index/default.json | 5 ----- config/util/index/example.json | 5 ----- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/config/storage/middleware/default.json b/config/storage/middleware/default.json index 702246f94..b9638c967 100644 --- a/config/storage/middleware/default.json +++ b/config/storage/middleware/default.json @@ -13,7 +13,9 @@ "MonitoringStore:_source": { "@id": "urn:solid-server:default:ResourceStore_Index" } }, { + "comment": "When a container with an index.html document is accessed, serve that HTML document instead of the container.", "@id": "urn:solid-server:default:ResourceStore_Index", + "@type": "IndexRepresentationStore", "IndexRepresentationStore:_source": { "@id": "urn:solid-server:default:ResourceStore_Locking" } }, { diff --git a/config/util/index/default.json b/config/util/index/default.json index b3dcb3535..a09e86955 100644 --- a/config/util/index/default.json +++ b/config/util/index/default.json @@ -1,11 +1,6 @@ { "@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld", "@graph": [ - { - "comment": "When a container with an index.html document is accessed, serve that HTML document instead of the container.", - "@id": "urn:solid-server:default:ResourceStore_Index", - "@type": "IndexRepresentationStore" - }, { "comment": "This value can be used to set a custom handler for index files. See the example file.", "@id": "urn:solid-server:default:DefaultUiConverter", diff --git a/config/util/index/example.json b/config/util/index/example.json index 162902767..d4bba659b 100644 --- a/config/util/index/example.json +++ b/config/util/index/example.json @@ -1,11 +1,6 @@ { "@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld", "@graph": [ - { - "comment": "This an example on how to disable the routing to index.html when accessing a container.", - "@id": "urn:solid-server:default:ResourceStore_Index", - "@type": "PassthroughStore" - }, { "comment": [ "This converter replaces every browser request for text/html with the Databrowser UI (which then in turn loads a Turtle or other representation of the same resource).",