Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(api): resolve content limit issue for requests with attachments #6852

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

kasyap1234
Copy link

What changed? Why was the change needed?

issue #6449

Screenshots

const extendedBodySizeRoutes = [
  '/v1/events',
  '/v1/events/trigger',  // Add this route
  '/v1/notification-templates',
  '/v1/workflows',
  '/v1/layouts',
  '/v1/bridge/sync',
  '/v1/bridge/diff',
]; 

app.use(extendedBodySizeRoutes, bodyParser.json({ limit: '20mb' }));
app.use(extendedBodySizeRoutes, bodyParser.urlencoded({ limit: '20mb', extended: true }));

Copy link

netlify bot commented Nov 5, 2024

👷 Deploy request for novu-stg-vite-dashboard-poc pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit bb431a8

@kasyap1234 kasyap1234 changed the title fix api request content-limit with attachments fix(api): resolve content limit issue for requests with attachments Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant