mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 18:00:44 +01:00
10 lines
342 B
JavaScript
10 lines
342 B
JavaScript
|
const MessagesController = require("../../controllers/lnd/message");
|
||
|
const express = require("express");
|
||
|
const router = express.Router();
|
||
|
const authCheck = require("../authCheck");
|
||
|
|
||
|
router.post("/sign", authCheck, MessagesController.signMessage);
|
||
|
router.post("/verify", authCheck, MessagesController.verifyMessage);
|
||
|
|
||
|
module.exports = router;
|