mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +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: {
|
developer_statistics: {
|
||||||
redirect: "/developer-tools/statistics",
|
redirect: "/developer-tools/statistics",
|
||||||
},
|
},
|
||||||
|
server_controls: {
|
||||||
|
redirect: "/developer-tools/yaml",
|
||||||
|
},
|
||||||
config: {
|
config: {
|
||||||
redirect: "/config/dashboard",
|
redirect: "/config/dashboard",
|
||||||
},
|
},
|
||||||
@ -129,10 +132,7 @@ export const getMyRedirects = (hasSupervisor: boolean): Redirects => ({
|
|||||||
redirect: "/config/users",
|
redirect: "/config/users",
|
||||||
},
|
},
|
||||||
general: {
|
general: {
|
||||||
redirect: "/config/core",
|
redirect: "/config/general",
|
||||||
},
|
|
||||||
server_controls: {
|
|
||||||
redirect: "/developer-tools/yaml",
|
|
||||||
},
|
},
|
||||||
logs: {
|
logs: {
|
||||||
redirect: "/config/logs",
|
redirect: "/config/logs",
|
||||||
@ -140,6 +140,27 @@ export const getMyRedirects = (hasSupervisor: boolean): Redirects => ({
|
|||||||
info: {
|
info: {
|
||||||
redirect: "/config/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: {
|
||||||
// customize was removed in 2021.12, fallback to dashboard
|
// customize was removed in 2021.12, fallback to dashboard
|
||||||
redirect: "/config/dashboard",
|
redirect: "/config/dashboard",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user