chore: add clipper extension package (#2281)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
export const ValidAppViewRoutes = ['u2f'] as const
|
||||
export const ValidAppViewRoutes = ['u2f', 'extension'] as const
|
||||
|
||||
export type AppViewRouteParam = typeof ValidAppViewRoutes[number]
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user