Skip to content

Commit

Permalink
fix(bodyparser): 500 responses when including body payload in any r…
Browse files Browse the repository at this point in the history
…equest

Link to PR: honojs/website#297
  • Loading branch information
cogoo committed Jul 4, 2024
1 parent 307895e commit 3e9fe67
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ import intents from '../src/routes/intents/index.js';
import apiKeys from '../src/routes/admin/index.js';
import { handle } from '@hono/node-server/vercel';

export const config = {
api: {
bodyParser: false,
},
};

const app = new Hono().basePath('/api');

app.route('/v1/wallet', wallet);
Expand Down

0 comments on commit 3e9fe67

Please sign in to comment.