chore: add clipper extension package (#2281)

This commit is contained in:
Aman Harwara
2023-04-11 22:14:02 +05:30
committed by GitHub
parent 0b0466c9fa
commit 4f5e634685
214 changed files with 3163 additions and 355 deletions

View File

@@ -1,3 +1,3 @@
export const ValidAppViewRoutes = ['u2f'] as const
export const ValidAppViewRoutes = ['u2f', 'extension'] as const
export type AppViewRouteParam = typeof ValidAppViewRoutes[number]

View File

@@ -102,7 +102,9 @@ export class RouteParser implements RouteParserInterface {
return RouteType.Onboarding
}
if (this.path !== RootRoutes.None) {
const isIndexPath = this.path.endsWith('index.html')
if (this.path !== RootRoutes.None && !isIndexPath) {
return RouteType.None
}