Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
402 B
1
Indexable
Never
module.exports = app => {
  const chats = require("../controllers/fx.controller.js");
  const qris = require("../controllers/qr.controller.js");

  app.get("/chats", chats.chatindex);
  app.post("/chats", chats.create);
  app.post("/set/client", chats.setClient);
  app.post("/remove/client", chats.removeClient);
  app.get("/kill", chats.kill);
  app.get("/qr/generate", qris.generate);
};