Skip to content

Commit

Permalink
FFWEB-3251: Make trailing slash optional
Browse files Browse the repository at this point in the history
 Make trailing slash optional
  • Loading branch information
fritzmg authored Dec 9, 2024
1 parent c60c17b commit 9b2f80d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/frontend/templates/ff/communication.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $searchImmediate = $communicationParameters['search-immediate'] ?? 'false';
}));
<?php endif; ?>

<?php if (($request = $block->getRequest()) instanceof \Magento\Framework\App\Request\Http && '/factfinder/result' !== $request->getPathInfo()): ?>
<?php if (($request = $block->getRequest()) instanceof \Magento\Framework\App\Request\Http && '/factfinder/result' !== rtrim($request->getPathInfo(), '/')): ?>
factfinder.request.before.search(({ searchParams, searchOptions }) => {
if (searchOptions?.requestOptions?.origin?.tagName === `FF-SEARCHBOX`) {
<?php if(!empty($parameters['add-params'])) : ?>
Expand Down

0 comments on commit 9b2f80d

Please sign in to comment.