working read-only app
This commit is contained in:
parent
0f412b5e91
commit
45adfbc023
@ -55,8 +55,11 @@
|
||||
m("div"),
|
||||
m(InboxTable)
|
||||
];
|
||||
else
|
||||
else {
|
||||
//TODO: side-effect
|
||||
mails = [];
|
||||
return null;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -7,10 +7,5 @@ if (!process.env.WEBMAILKEY){
|
||||
const app = require("./app");
|
||||
require("./api");
|
||||
|
||||
var events = require("./events");
|
||||
events.on("channel-recv", function(msg){
|
||||
console.log("channel-recv", msg);//XXX
|
||||
});
|
||||
|
||||
app.listen(8080, () => console.log('Listening on http://127.0.0.1:8080'))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user