Base Href set to /rtl, Closed Channels

pull/47/head
ShahanaFarooqui 5 years ago
parent b8c7506911
commit fef3fb2569

@ -3,11 +3,10 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>RTL</title> <title>RTL</title>
<base href="/"> <base href="/rtl/"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="assets/images/favicon.ico"> <link rel="icon" type="image/x-icon" href="assets/images/favicon.ico">
<link rel="stylesheet" href="styles.6acb6bfec10bb1e126bd.css"></head> <link rel="stylesheet" href="styles.6acb6bfec10bb1e126bd.css"></head>
<body> <body>
<rtl-app></rtl-app> <rtl-app></rtl-app>
<script type="text/javascript" src="runtime.ec2944dd8b20ec099bf3.js"></script><script type="text/javascript" src="polyfills.418928a701f2040ada02.js"></script><script type="text/javascript" src="main.17a001a0da5490b78b06.js"></script></body> <script type="text/javascript" src="runtime.ec2944dd8b20ec099bf3.js"></script><script type="text/javascript" src="polyfills.418928a701f2040ada02.js"></script><script type="text/javascript" src="main.c753f8186e02243f90e2.js"></script></body>
</html> </html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -21,7 +21,7 @@ const invoiceRoutes = require("./routes/invoices");
app.use(bodyParser.json()); app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false })); app.use(bodyParser.urlencoded({ extended: false }));
app.use("/", express.static(path.join(__dirname, "angular"))); app.use("/rtl/", express.static(path.join(__dirname, "angular")));
// CORS fix, Only required for developement due to separate backend and frontend servers // CORS fix, Only required for developement due to separate backend and frontend servers
app.use((req, res, next) => { app.use((req, res, next) => {

@ -4,8 +4,8 @@ const router = express.Router();
const authCheck = require("./authCheck"); const authCheck = require("./authCheck");
router.get("/", authCheck, ChannelsController.getChannels); router.get("/", authCheck, ChannelsController.getChannels);
router.get("/:channelType", authCheck, ChannelsController.getChannels);
router.post("/", authCheck, ChannelsController.postChannel); router.post("/", authCheck, ChannelsController.postChannel);
router.get("/:channelType", authCheck, ChannelsController.getChannels);
router.post("/transactions", authCheck, ChannelsController.postTransactions); router.post("/transactions", authCheck, ChannelsController.postTransactions);
router.delete("/:channelPoint", authCheck, ChannelsController.closeChannel); router.delete("/:channelPoint", authCheck, ChannelsController.closeChannel);

Loading…
Cancel
Save