Skip to content

Commit

Permalink
fix/ remove koa-cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
dev2820 committed Aug 9, 2023
1 parent 69f1e7d commit c5ae1f0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"devDependencies": {
"@types/jsonwebtoken": "^9.0.2",
"@types/koa": "^2.13.6",
"@types/koa-cookie": "^1.0.0",
"@types/koa-passport": "^6.0.0",
"@types/koa__router": "^12.0.0",
"@types/node": "^20.3.3",
Expand Down Expand Up @@ -50,7 +49,6 @@
"@koa/router": "^12.0.0",
"jsonwebtoken": "^9.0.1",
"koa": "^2.14.2",
"koa-cookie": "^1.0.0",
"koa-passport": "^6.0.0",
"mongoose": "^7.3.2",
"passport-google-oauth20": "^2.0.0",
Expand Down
16 changes: 0 additions & 16 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/app.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Koa, { Context } from 'koa';
import cookie from 'koa-cookie';
import Router from '@koa/router';
import Auth from '@/router/auth';
import User from '@/router/user';
Expand Down Expand Up @@ -38,5 +37,4 @@ app.use(Auth.routes());
app.use(User.routes());
app.use(router.allowedMethods());

app.use(cookie());
export default app;

0 comments on commit c5ae1f0

Please sign in to comment.