Skip to content

Commit

Permalink
increase to 4mb
Browse files Browse the repository at this point in the history
  • Loading branch information
Idokah committed Feb 5, 2024
1 parent 74ae842 commit 2c35b66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/velo-external-db-core/src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export const createRouter = () => {
router.use(express.text())
router.use(compression())
router.use('/assets', express.static(path.join(__dirname, 'assets')))
router.use(express.json({ limit: '4mb' }))
const jwtVerifier = new JWTVerifier(cfg.jwtPublicKey, cfg.appDefId)
const jwtVerifierDecoderMiddleware = new JWTVerifierDecoderMiddleware(jwtVerifier)
router.use(unless(['/', '/info', '/capabilities', '/favicon.ico', '/provision', '/connectionStatus'], jwtVerifierDecoderMiddleware.verifyAndDecodeMiddleware()))
Expand Down

0 comments on commit 2c35b66

Please sign in to comment.