This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter-content.git
The following commit(s) were added to refs/heads/master by this push:
new 268299d SLING-7651 - remove (weird IMO) etc/map mapping for
localhost, add redirect on /content as there's (ouch) another mapping that
causes / to resolve to that
268299d is described below
commit 268299d1a18184c568fe99db63a93622f6929a66
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Fri May 4 15:58:45 2018 +0200
SLING-7651 - remove (weird IMO) etc/map mapping for localhost, add redirect
on /content as there's (ouch) another mapping that causes / to resolve to that
---
src/main/resources/content/ROOT.json | 17 +++--------------
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/src/main/resources/content/ROOT.json
b/src/main/resources/content/ROOT.json
index b150cb5..82ca218 100644
--- a/src/main/resources/content/ROOT.json
+++ b/src/main/resources/content/ROOT.json
@@ -1,19 +1,8 @@
{
- "jcr:mixinTypes": [ "sling:Redirect" ],
"sling:resourceType": "sling:redirect",
"sling:target": "/starter/index.html",
- "etc": {
- "jcr:primaryType": "sling:Folder",
- "map": {
- "jcr:primaryType": "sling:Folder",
- "http": {
- "jcr:primaryType": "sling:Folder",
- "localhost": {
- "jcr:primaryType": "sling:Mapping",
- "sling:match": "localhost\\.\\d*/$",
- "sling:redirect": "/starter/index.html"
- }
- }
- }
+ "content" : {
+ "sling:resourceType": "sling:redirect",
+ "sling:target": "/starter/index.html"
}
}
--
To stop receiving notification emails like this one, please contact
[email protected].