Skip to content

Commit

Permalink
fix e2e config context
Browse files Browse the repository at this point in the history
revert removal of files app root redirect
  • Loading branch information
fschade authored and JammingBen committed Jan 13, 2022
1 parent 75297b8 commit a572f05
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/web-app-files/src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ import { buildRoutes as buildDeprecatedRoutes, isLocationActive } from './deprec
import { RouteComponents } from './router'
import { RouteConfig } from 'vue-router'

const ROOT_ROUTE = {
path: '/',
redirect: (to) => createLocationSpaces('files-spaces-personal-home', to)
}

const buildRoutes = (components: RouteComponents): RouteConfig[] => [
ROOT_ROUTE,
...buildSharesRoutes(components),
...buildPublicRoutes(components),
...buildSpacesRoutes(components),
Expand Down

0 comments on commit a572f05

Please sign in to comment.