2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-15 18:13:00 +00:00
RTL/routes/shared/loop.js
ShahanaFarooqui f817ae39bc
Release 0.10.1 (#605)
Dahboard layout fix #576
Boltz integration (#590)
Merged verify token and password authentication
Channel mobile view update
ECL Adding inactive channels force close
Flag Dust UTXOs
Bug fix for forwarding history browser crash #596
Label and Lease UTXOs
UI Table Fixes
App settings (#604)
Settings updates
UTXO lease confirmation box
Login and Settings page  without add new node
2021-02-21 14:02:31 -05:00

18 lines
867 B
JavaScript

const LoopController = require("../../controllers/shared/loop");
const express = require("express");
const router = express.Router();
const authCheck = require("./authCheck");
router.get("/in/terms", authCheck, LoopController.loopInTerms);
router.get("/in/quote/:amount", authCheck, LoopController.loopInQuote);
router.get("/in/termsAndQuotes", authCheck, LoopController.loopInTermsAndQuotes);
router.post("/in", authCheck, LoopController.loopIn);
router.get("/out/terms", authCheck, LoopController.loopOutTerms);
router.get("/out/quote/:amount", authCheck, LoopController.loopOutQuote);
router.get("/out/termsAndQuotes", authCheck, LoopController.loopOutTermsAndQuotes);
router.post("/out", authCheck, LoopController.loopOut);
router.get("/swaps", authCheck, LoopController.swaps);
router.get("/swap/:id", authCheck, LoopController.swap);
module.exports = router;