mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 18:00:44 +01:00
d87f75d3ef
Connect Peer: Remove host, add with pubkey only. Peers List: Add Alias. Channel select: Replace peer pubkey in select with Alias. Channel Close.
12 lines
452 B
JavaScript
12 lines
452 B
JavaScript
const ChannelsController = require("../controllers/channels");
|
|
const express = require("express");
|
|
const router = express.Router();
|
|
|
|
router.get("/", ChannelsController.getChannels);
|
|
router.get("/:channelType", ChannelsController.getChannels);
|
|
router.post("/", ChannelsController.postChannel);
|
|
router.post("/transactions", ChannelsController.postTransactions);
|
|
router.delete("/:channelPoint", ChannelsController.closeChannel);
|
|
|
|
module.exports = router;
|