Ride-The-Lightning-RTL/routes/peers.js
2018-09-14 21:31:01 -04:00

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;