fix(pwa): include root-scoped session shortcuts (#1244)
Co-authored-by: Isaac Sanchez <isanchez-hawkins@arize.com>
This commit is contained in:
committed by
GitHub
co-authored by
Isaac Sanchez
parent
cde9c656e7
commit
d66e077b99
@@ -86,7 +86,7 @@ export const registerPwaManifestRoute = (app, dependencies) => {
|
||||
if (!sessionDirectory) {
|
||||
return false;
|
||||
}
|
||||
return sessionDirectory === normalizedDirectory || (prefix !== '/' && sessionDirectory.startsWith(prefix));
|
||||
return sessionDirectory === normalizedDirectory || sessionDirectory.startsWith(prefix);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user