Skip to content

Commit

Permalink
fix(upsample): up sizeLimit to 4mb (h/t @xuechengjinxiu, #45)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadicc committed Mar 10, 2023
1 parent d6545bb commit 4a65df2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pages/api/banana-upsample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ import {
UpsampleModelInputs,
} from "../../src/schemas";

export const config = {
api: {
bodyParser: {
sizeLimit: "4mb",
},
},
};

const apiKey = process.env.BANANA_API_KEY;

const MONGO_URL = process.env.MONGO_URL || "mongodb://127.0.0.1";
Expand Down

0 comments on commit 4a65df2

Please sign in to comment.