mirror of
https://github.com/andrigamerita/simpkey
synced 2025-06-05 22:09:26 +02:00
wip
This commit is contained in:
@@ -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!');
|
||||
|
||||
|
Reference in New Issue
Block a user