mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 08:16:36 +00:00
add my redirects for new config pages (#12481)
This commit is contained in:
parent
8135611688
commit
67626d4a06
@ -34,6 +34,9 @@ export const getMyRedirects = (hasSupervisor: boolean): Redirects => ({
|
||||
developer_statistics: {
|
||||
redirect: "/developer-tools/statistics",
|
||||
},
|
||||
server_controls: {
|
||||
redirect: "/developer-tools/yaml",
|
||||
},
|
||||
config: {
|
||||
redirect: "/config/dashboard",
|
||||
},
|
||||
@ -129,10 +132,7 @@ export const getMyRedirects = (hasSupervisor: boolean): Redirects => ({
|
||||
redirect: "/config/users",
|
||||
},
|
||||
general: {
|
||||
redirect: "/config/core",
|
||||
},
|
||||
server_controls: {
|
||||
redirect: "/developer-tools/yaml",
|
||||
redirect: "/config/general",
|
||||
},
|
||||
logs: {
|
||||
redirect: "/config/logs",
|
||||
@ -140,6 +140,27 @@ export const getMyRedirects = (hasSupervisor: boolean): Redirects => ({
|
||||
info: {
|
||||
redirect: "/config/info",
|
||||
},
|
||||
system_health: {
|
||||
redirect: "/config/system_health",
|
||||
},
|
||||
hardware: {
|
||||
redirect: "/config/hardware",
|
||||
},
|
||||
storage: {
|
||||
redirect: "/config/storage",
|
||||
},
|
||||
network: {
|
||||
redirect: "/config/network",
|
||||
},
|
||||
analytics: {
|
||||
redirect: "/config/analytics",
|
||||
},
|
||||
updates: {
|
||||
redirect: "/config/updates",
|
||||
},
|
||||
system_dashboard: {
|
||||
redirect: "/config/system",
|
||||
},
|
||||
customize: {
|
||||
// customize was removed in 2021.12, fallback to dashboard
|
||||
redirect: "/config/dashboard",
|
||||
|
Loading…
x
Reference in New Issue
Block a user