mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 09:50:36 +01:00
9 lines
240 B
JavaScript
9 lines
240 B
JavaScript
const PeersController = require("../controllers/peers");
|
|
const express = require("express");
|
|
const router = express.Router();
|
|
|
|
router.get("/", PeersController.getPeers);
|
|
router.post("/", PeersController.postPeer);
|
|
|
|
module.exports = router;
|