Skip to content

Commit

Permalink
chore: add tests for /rpc upload size
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Oct 16, 2023
1 parent 0b3e8fa commit af6306b
Show file tree
Hide file tree
Showing 3 changed files with 3,898 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { createHash } from 'crypto';
import { Response } from 'express';
import FileType from 'file-type';

export const MAX = 10e6;
export const MAX = 10e4;

export function rpcSuccess(res: Response, result: any, id = '') {
res.json({
Expand Down
Loading

0 comments on commit af6306b

Please sign in to comment.