2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-11 13:10:41 +00:00
RTL/routes/peers.js

10 lines
299 B
JavaScript
Raw Normal View History

2018-09-15 01:31:01 +00:00
const PeersController = require("../controllers/peers");
const express = require("express");
const router = express.Router();
router.get("/", PeersController.getPeers);
router.post("/", PeersController.postPeer);
2018-12-25 04:01:31 +00:00
router.delete("/:peerPubKey", PeersController.deletePeer);
2018-09-15 01:31:01 +00:00
module.exports = router;