Only warning now... Green pipeline?
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
12
lib/app.ts
12
lib/app.ts
@@ -1,8 +1,8 @@
|
||||
import koa from 'koa';
|
||||
import koaBodyparser from 'koa-bodyparser';
|
||||
import koaCookie from 'koa-cookie';
|
||||
import koaPassport from 'koa-passport';
|
||||
import koaSession from 'koa-session';
|
||||
import Koa from 'koa';
|
||||
import bodyparser from 'koa-bodyparser';
|
||||
import cookie from 'koa-cookie';
|
||||
import passport from 'koa-passport';
|
||||
import session from 'koa-session';
|
||||
|
||||
import { performanceLogger, perfromanceTimer } from './middleware/performance';
|
||||
import { errorHandler } from './middleware/errorHandler';
|
||||
@@ -12,7 +12,7 @@ const app: Koa = new Koa();
|
||||
app.use(errorHandler);
|
||||
app.use(perfromanceTimer);
|
||||
app.use(performanceLogger);
|
||||
app.use(bodyParser());
|
||||
app.use(bodyparser());
|
||||
app.use(cookie());
|
||||
|
||||
app.keys = [process.env.SESSION_KEYS as string];
|
||||
|
||||
Reference in New Issue
Block a user