]>
git.r.bdr.sh - rbdr/lgtm/blob - index.js
3 const Config
= require('./config/config');
4 const Koa
= require('koa');
5 const KoaStatic
= require('koa-static');
9 internals
.run
= () => {
11 internals
.app
= Koa();
13 internals
.app
.use(KoaStatic(Config
.staticDirectory
));
17 console
.log(' +-----+');
18 console
.log(` | o o | - Listening Gladly, Try Me: ${Config.port}`);
19 console
.log(' +-----+');
20 console
.log(' +---------+');
21 console
.log(' /| [][] |\\');
22 console
.log(' || | |');
23 console
.log(' || | \\c');
24 console
.log(' ^+---------+');
26 internals
.app
.listen(Config
.port
);