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 -9
View File
@@ -93,13 +93,13 @@ routeEnhancers:
location_type: \d+ location_type: \d+
aspects: aspects:
travel_type: travel_type:
type: StaticRangeMapper type: PersistedAliasMapper
start: '1' tableName: tx_epevents_domain_model_traveltype
end: '100' routeFieldName: uid
location_type: location_type:
type: StaticRangeMapper type: PersistedAliasMapper
start: '1' tableName: tx_epevents_domain_model_location
end: '100' routeFieldName: uid
ContactFormPlugin: ContactFormPlugin:
type: Extbase type: Extbase
extension: EpEvents extension: EpEvents
@@ -117,6 +117,12 @@ routeEnhancers:
travel_type: \d+ travel_type: \d+
aspects: aspects:
travel_type: travel_type:
type: StaticRangeMapper type: PersistedAliasMapper
start: '1' tableName: tx_epevents_domain_model_traveltype
end: '100' routeFieldName: uid
PageTypeSuffix:
type: PageType
default: '/'
index: ''
map:
'/': 0
+15 -2
View File
@@ -22,5 +22,18 @@ errorHandling:
errorCode: '404' errorCode: '404'
errorHandler: Page errorHandler: Page
errorContentSource: 't3://page?uid=608' errorContentSource: 't3://page?uid=608'
routes: { } routes:
routeEnhancers: { } -
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