1
0
mirror of https://github.com/andrigamerita/simpkey synced 2025-06-05 22:09:26 +02:00
This commit is contained in:
Xeltica
2020-07-24 01:53:00 +09:00
parent b958350d0f
commit dbd58fc39d
8 changed files with 201 additions and 106 deletions

View File

@@ -1,8 +1,8 @@
import Koa from 'koa';
import { router, render } from '.';
import { router } from './router';
import config from './config';
import session from 'koa-session';
import bodyParser from 'koa-bodyparser';
import { render } from './render';
const app = new Koa();
@@ -12,7 +12,6 @@ console.log('Simpkey v' + config.version);
app.use(bodyParser());
app.use(render);
app.use(router.routes());
app.use(router.allowedMethods());
console.log('App launched!');