Skip to content

Commit

Permalink
fix: upload size limit
Browse files Browse the repository at this point in the history
  • Loading branch information
nomagick committed Feb 14, 2025
1 parent 7743acc commit 715d81b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ const app = express();
const secret = process.argv.find(arg => arg.startsWith('--secret='))?.split('=')[1];

app.use(cors());
app.use(express.json());
app.use(express.json({
limit: '10mb'
}));

// Add health check endpoint for Docker container verification
app.get('/health', (req, res) => {
Expand Down

0 comments on commit 715d81b

Please sign in to comment.