Skip to content

Commit 087c29e

Browse files
committed
[Dashboard] Rename RPC Edge to RPC and add redirect (#7509)
# Rename `/rpc-edge` to `/rpc` This PR renames the `/rpc-edge` route to `/rpc` in the dashboard: - Updates the route in `framer-rewrites.js` - Adds a redirect from `/rpc-edge` to `/rpc` to maintain backward compatibility <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a redirect from /rpc-edge to /rpc for dashboard requests. * **Chores** * Updated references from /rpc-edge to /rpc in the scale category configuration. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 9c2b0f7 commit 087c29e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

apps/dashboard/framer-rewrites.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = [
1616
// -- end build category
1717

1818
// -- scale category
19-
"/rpc-edge",
19+
"/rpc",
2020
"/insight",
2121
"/storage",
2222
// -- end scale category

apps/dashboard/redirects.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,11 @@ async function redirects() {
435435
permanent: false,
436436
source: "/engine",
437437
},
438+
{
439+
destination: "/rpc",
440+
permanent: false,
441+
source: "/rpc-edge",
442+
},
438443
...legacyDashboardToTeamRedirects,
439444
...projectPageRedirects,
440445
...teamPageRedirects,

0 commit comments

Comments
 (0)