Files
spacedrive/interface/app/$libraryId/debug/index.ts
T
Oscar Beaumont 926ae4fc65 P2P holepunching + relay (#2147)
* Basic AF server

* wip

* Add autonat to relay server

* Add autonat client + fixes

* Deploy script

* wip

* Debug view

* wip

* wip

* relay all events

* wip

* fix

* wip

* libp2p man spoke

* dctur

* Relay config file

* Advertise relay server

* Dynamic relay configuration

* wip

* p2p relay config

* cleanup

* push instances into p2p state

* fix

* Fix up TS
2024-03-12 06:18:58 +00:00

23 lines
587 B
TypeScript

import { RouteObject } from 'react-router';
export const debugRoutes = [
{ path: 'cache', lazy: () => import('./cache') },
{ path: 'cloud', lazy: () => import('./cloud') },
{ path: 'sync', lazy: () => import('./sync') },
{ path: 'actors', lazy: () => import('./actors') },
{
path: 'p2p',
lazy: () => import('./p2p'),
children: [
{
path: 'overview',
lazy: () => import('./p2p').then((m) => ({ Component: m.Overview }))
},
{
path: 'remote',
lazy: () => import('./p2p').then((m) => ({ Component: m.RemotePeers }))
}
]
}
] satisfies RouteObject[];