Skip to content

Commit

Permalink
fix: switch from koa-views to @ladjs/koa-views
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Jun 9, 2023
1 parent a094c70 commit 55c87df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const responseTime = require('response-time');
const serveStatic = require('@ladjs/koa-better-static');
const session = require('koa-generic-session');
const sharedConfig = require('@ladjs/shared-config');
const views = require('koa-views');
const views = require('@ladjs/koa-views');
const { boolean } = require('boolean');

const defaultSrc = isSANB(process.env.WEB_HOST)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@ladjs/koa-cache-responses": "^0.0.3",
"@ladjs/koa-isajax": "^2.0.0",
"@ladjs/koa-simple-ratelimit": "^4.1.1",
"@ladjs/koa-views": "^9.0.0",
"@ladjs/redis": "^1.1.1",
"@ladjs/shared-config": "^9.1.2",
"@ladjs/state-helper": "^3.0.1",
Expand Down Expand Up @@ -47,7 +48,6 @@
"koa-no-trailing-slash": "^2.1.0",
"koa-redirect-loop": "^3.0.2",
"koa-redis": "^4.0.1",
"koa-views": "^8.0.0",
"lodash": "^4.17.21",
"ms": "^2.1.3",
"request-received": "^0.0.3",
Expand Down

0 comments on commit 55c87df

Please sign in to comment.