File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
components/dashboard/src/app Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,11 @@ import {
1717 settingsPathPersonalAccessTokenCreate ,
1818 settingsPathPersonalAccessTokenEdit ,
1919 settingsPathPersonalAccessTokens ,
20+ settingsPathPlans ,
2021 settingsPathPreferences ,
2122 settingsPathSSHKeys ,
2223 settingsPathVariables ,
24+ switchToPAYGPathMain ,
2325 usagePathMain ,
2426} from "../user-settings/settings.routes" ;
2527import { getURLHash , isGitpodIo } from "../utils" ;
@@ -124,6 +126,20 @@ export const AppRoutes = () => {
124126 < Route path = "/open" >
125127 < Redirect to = "/new" />
126128 </ Route >
129+ < Route
130+ path = { [
131+ switchToPAYGPathMain ,
132+ settingsPathPlans ,
133+ "/old-team-plans" ,
134+ "/teams" ,
135+ "/subscription" ,
136+ "/upgrade-subscription" ,
137+ "/plans" ,
138+ ] }
139+ exact
140+ >
141+ < Redirect to = { "/billing" } />
142+ </ Route >
127143 < Route path = { workspacesPathMain } exact component = { Workspaces } />
128144 < Route path = { settingsPathAccount } exact component = { Account } />
129145 < Route path = { usagePathMain } exact component = { Usage } />
You can’t perform that action at this time.
0 commit comments