move rx/tx to api
This commit is contained in:
parent
6d40293fc4
commit
53d6549971
@ -1,8 +1,8 @@
|
||||
const bodyParser = require('body-parser');
|
||||
const jsonParser = bodyParser.json();
|
||||
|
||||
const app = require("./app");
|
||||
const client_map = require("./client_map");
|
||||
const app = require("../app");
|
||||
const client_map = require("../client_map");
|
||||
|
||||
// mod -> web
|
||||
app.post('/', jsonParser, function(req, res){
|
@ -1,7 +1,7 @@
|
||||
|
||||
const app = require("./app");
|
||||
const irc_client = require('./irc_client');
|
||||
const cfg = require("./config");
|
||||
const app = require("../app");
|
||||
const irc_client = require('../irc_client');
|
||||
const cfg = require("../config");
|
||||
|
||||
const EventEmitter = require("events");
|
||||
|
@ -1,6 +1,6 @@
|
||||
const app = require("./app");
|
||||
|
||||
require("./rx.js");
|
||||
require("./tx.js");
|
||||
require("./api/rx.js");
|
||||
require("./api/tx.js");
|
||||
|
||||
app.listen(8080, () => console.log('Listening on http://127.0.0.1:8080'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user