Fix route enhancers to append trailing slash for missed domains

This commit is contained in:
Björn Fromme
2019-06-13 11:05:17 +02:00
parent c23204bc62
commit ae5abd9c27
2 changed files with 30 additions and 11 deletions
+15 -2
View File
@@ -22,5 +22,18 @@ errorHandling:
errorCode: '404'
errorHandler: Page
errorContentSource: 't3://page?uid=608'
routes: { }
routeEnhancers: { }
routes:
-
route: robots.txt
type: staticText
content: "User-agent: *\r\nDisallow: /typo3/\r\nDisallow: /typo3_src/\r\nAllow: /typo3/sysext/frontend/Resources/Public/*\r\n"
routeEnhancers:
PageTypeSuffix:
type: PageType
default: '/'
index: ''
map:
'/': 0
'/json': 1701
'/html': 1702