mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 09:50:36 +01:00
44412d357e
LND Palemoon UX extension panel bug Cookie file not generated for BTCPayServer #990 ECL Missing fee calculation on Dashboard #975 CLT channel filter on alias bug fix #982 CLightning to Code Lightning #997 Added Infographics for Channel Rebalance CLN Base fee zero bug fix #987 ECL Query Route bug fix #1007 LND faster initial load LND Transactions Lookup #1002 LND Bug fix for Routing Fee Calculation
32 lines
1.2 KiB
JavaScript
32 lines
1.2 KiB
JavaScript
import exprs from 'express';
|
|
const { Router } = exprs;
|
|
import infoCLRoutes from './getInfo.js';
|
|
import feesCLRoutes from './fees.js';
|
|
import balanceCLRoutes from './balance.js';
|
|
import channelsCLRoutes from './channels.js';
|
|
import invoicesCLRoutes from './invoices.js';
|
|
import onChainCLRoutes from './onchain.js';
|
|
import paymentsCLRoutes from './payments.js';
|
|
import peersCLRoutes from './peers.js';
|
|
import networkCLRoutes from './network.js';
|
|
import messageCLRoutes from './message.js';
|
|
import offersCLRoutes from './offers.js';
|
|
const router = Router();
|
|
const clRoutes = [
|
|
{ path: '/getinfo', route: infoCLRoutes },
|
|
{ path: '/fees', route: feesCLRoutes },
|
|
{ path: '/balance', route: balanceCLRoutes },
|
|
{ path: '/channels', route: channelsCLRoutes },
|
|
{ path: '/invoices', route: invoicesCLRoutes },
|
|
{ path: '/onchain', route: onChainCLRoutes },
|
|
{ path: '/payments', route: paymentsCLRoutes },
|
|
{ path: '/peers', route: peersCLRoutes },
|
|
{ path: '/network', route: networkCLRoutes },
|
|
{ path: '/message', route: messageCLRoutes },
|
|
{ path: '/offers', route: offersCLRoutes }
|
|
];
|
|
clRoutes.forEach((route) => {
|
|
router.use(route.path, route.route);
|
|
});
|
|
export default router;
|