MOBILE-4011 sitehome: Capture root link

main
Noel De Martin 2022-08-04 15:38:14 +02:00
parent eb632cc9e4
commit 95c5c243c3
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export class CoreSiteHomeIndexLinkHandlerService extends CoreContentLinksHandler
name = 'CoreSiteHomeIndexLinkHandler';
featureName = 'CoreMainMenuDelegate_CoreSiteHome';
pattern = /(\/course\/view\.php.*([?&]id=\d+)|\/index\.php(\?redirect=0)?)/;
pattern = /(\/course\/view\.php.*([?&]id=\d+)|\/index\.php(\?redirect=0)?|\/?\?redirect=0)/;
/**
* @inheritdoc